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

Commit242c273

Browse files
committed
C comments: remove odd blank lines after #ifdef WIN32 lines
A few more
1 parent886c0be commit242c273

File tree

5 files changed

+5
-7
lines changed

5 files changed

+5
-7
lines changed

‎src/backend/utils/mb/mbutils.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,6 @@ GetMessageEncoding(void)
10481048
}
10491049

10501050
#ifdefWIN32
1051-
10521051
/*
10531052
* Result is palloc'ed null-terminated utf16 string. The character length
10541053
* is also passed to utf16len if not null. Returns NULL iff failed.

‎src/bin/initdb/initdb.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,6 @@ walkdir(char *path, void (*action) (char *fname, bool isdir))
565565
}
566566

567567
#ifdefWIN32
568-
569568
/*
570569
* This fix is in mingw cvs (runtime/mingwex/dirent.c rev 1.4), but not in
571570
* released version

‎src/bin/pg_resetxlog/pg_resetxlog.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -846,8 +846,8 @@ FindEndOfXLOG(void)
846846
}
847847
errno=0;
848848
}
849-
#ifdefWIN32
850849

850+
#ifdefWIN32
851851
/*
852852
* This fix is in mingw cvs (runtime/mingwex/dirent.c rev 1.4), but not in
853853
* released version
@@ -908,8 +908,8 @@ KillExistingXLOG(void)
908908
}
909909
errno=0;
910910
}
911-
#ifdefWIN32
912911

912+
#ifdefWIN32
913913
/*
914914
* This fix is in mingw cvs (runtime/mingwex/dirent.c rev 1.4), but not in
915915
* released version
@@ -965,8 +965,8 @@ KillExistingArchiveStatus(void)
965965
}
966966
errno=0;
967967
}
968-
#ifdefWIN32
969968

969+
#ifdefWIN32
970970
/*
971971
* This fix is in mingw cvs (runtime/mingwex/dirent.c rev 1.4), but not in
972972
* released version

‎src/common/pgfnames.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,16 @@ pgfnames(const char *path)
6565
}
6666
errno=0;
6767
}
68-
#ifdefWIN32
6968

69+
#ifdefWIN32
7070
/*
7171
* This fix is in mingw cvs (runtime/mingwex/dirent.c rev 1.4), but not in
7272
* released version
7373
*/
7474
if (GetLastError()==ERROR_NO_MORE_FILES)
7575
errno=0;
7676
#endif
77+
7778
if (errno)
7879
{
7980
#ifndefFRONTEND

‎src/port/pgcheckdir.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ pg_check_dir(const char *dir)
6868
}
6969

7070
#ifdefWIN32
71-
7271
/*
7372
* This fix is in mingw cvs (runtime/mingwex/dirent.c rev 1.4), but not in
7473
* released version

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp