Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit90e7f31

Browse files
committed
Use preprocessor conditions compatible with Emacs indent.
Emacs wrongly indented hundreds of subsequent lines.
1 parente481d26 commit90e7f31

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+
#ifndefEXEC_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
#ifndefWIN32
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)

[8]ページ先頭

©2009-2025 Movatter.jp