Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 242c273

Browse files
committed
C comments: remove odd blank lines after #ifdef WIN32 lines
A few more
1 parent 886c0be commit 242c273

File tree

5 files changed

+5
-7
lines changed

5 files changed

+5
-7
lines changed

src/backend/utils/mb/mbutils.c

-1
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,6 @@ GetMessageEncoding(void)
10481048
}
10491049

10501050
#ifdef WIN32
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

-1
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,6 @@ walkdir(char *path, void (*action) (char *fname, bool isdir))
565565
}
566566

567567
#ifdef WIN32
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

+3-3
Original file line numberDiff line numberDiff line change
@@ -846,8 +846,8 @@ FindEndOfXLOG(void)
846846
}
847847
errno = 0;
848848
}
849-
#ifdef WIN32
850849

850+
#ifdef WIN32
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-
#ifdef WIN32
912911

912+
#ifdef WIN32
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-
#ifdef WIN32
969968

969+
#ifdef WIN32
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

+2-1
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,16 @@ pgfnames(const char *path)
6565
}
6666
errno = 0;
6767
}
68-
#ifdef WIN32
6968

69+
#ifdef WIN32
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
#ifndef FRONTEND

src/port/pgcheckdir.c

-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ pg_check_dir(const char *dir)
6868
}
6969

7070
#ifdef WIN32
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)