Skip to content

Commit 90e7f31

Browse files
committed
Use preprocessor conditions compatible with Emacs indent.
Emacs wrongly indented hundreds of subsequent lines.
1 parent e481d26 commit 90e7f31

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/backend/postmaster/postmaster.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2371,7 +2371,11 @@ processCancelRequest(Port *port, void *pkt)
23712371
backendPID)));
23722372
return;
23732373
}
2374+
#ifndef EXEC_BACKEND /* make GNU Emacs 26.1 see brace balance */
23742375
}
2376+
#else
2377+
}
2378+
#endif
23752379

23762380
/* No matching backend */
23772381
ereport(LOG,

src/bin/pg_upgrade/controldata.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,11 @@ get_control_data(ClusterInfo *cluster, bool live_check)
102102
pg_putenv("LC_MONETARY", NULL);
103103
pg_putenv("LC_NUMERIC", NULL);
104104
pg_putenv("LC_TIME", NULL);
105-
pg_putenv("LANG",
106105
#ifndef WIN32
107-
NULL);
106+
pg_putenv("LANG", NULL);
108107
#else
109108
/* On Windows the default locale cannot be English, so force it */
110-
"en");
109+
pg_putenv("LANG", "en");
111110
#endif
112111
pg_putenv("LANGUAGE", NULL);
113112
pg_putenv("LC_ALL", NULL);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy