aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2014-03-13 01:42:24 -0400
committerBruce Momjian <bruce@momjian.us>2014-03-13 01:42:24 -0400
commit242c2737fbec05a756e516f6e2fec4b739cc49d1 (patch)
tree78a01e6e8e9dba94a8d0581476ae04d1277182be /src
parent886c0be3f65bdbb68e86ec2d66a8c1a4c34b2923 (diff)
downloadpostgresql-242c2737fbec05a756e516f6e2fec4b739cc49d1.tar.gz
postgresql-242c2737fbec05a756e516f6e2fec4b739cc49d1.zip
C comments: remove odd blank lines after #ifdef WIN32 lines
A few more
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/mb/mbutils.c1
-rw-r--r--src/bin/initdb/initdb.c1
-rw-r--r--src/bin/pg_resetxlog/pg_resetxlog.c6
-rw-r--r--src/common/pgfnames.c3
-rw-r--r--src/port/pgcheckdir.c1
5 files changed, 5 insertions, 7 deletions
diff --git a/src/backend/utils/mb/mbutils.c b/src/backend/utils/mb/mbutils.c
index 15cf0d806b3..ad255ee6932 100644
--- a/src/backend/utils/mb/mbutils.c
+++ b/src/backend/utils/mb/mbutils.c
@@ -1048,7 +1048,6 @@ GetMessageEncoding(void)
}
#ifdef WIN32
-
/*
* Result is palloc'ed null-terminated utf16 string. The character length
* is also passed to utf16len if not null. Returns NULL iff failed.
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c
index 44231273faf..61bd7853076 100644
--- a/src/bin/initdb/initdb.c
+++ b/src/bin/initdb/initdb.c
@@ -565,7 +565,6 @@ walkdir(char *path, void (*action) (char *fname, bool isdir))
}
#ifdef WIN32
-
/*
* This fix is in mingw cvs (runtime/mingwex/dirent.c rev 1.4), but not in
* released version
diff --git a/src/bin/pg_resetxlog/pg_resetxlog.c b/src/bin/pg_resetxlog/pg_resetxlog.c
index 54690af0311..28a4f191f34 100644
--- a/src/bin/pg_resetxlog/pg_resetxlog.c
+++ b/src/bin/pg_resetxlog/pg_resetxlog.c
@@ -846,8 +846,8 @@ FindEndOfXLOG(void)
}
errno = 0;
}
-#ifdef WIN32
+#ifdef WIN32
/*
* This fix is in mingw cvs (runtime/mingwex/dirent.c rev 1.4), but not in
* released version
@@ -908,8 +908,8 @@ KillExistingXLOG(void)
}
errno = 0;
}
-#ifdef WIN32
+#ifdef WIN32
/*
* This fix is in mingw cvs (runtime/mingwex/dirent.c rev 1.4), but not in
* released version
@@ -965,8 +965,8 @@ KillExistingArchiveStatus(void)
}
errno = 0;
}
-#ifdef WIN32
+#ifdef WIN32
/*
* This fix is in mingw cvs (runtime/mingwex/dirent.c rev 1.4), but not in
* released version
diff --git a/src/common/pgfnames.c b/src/common/pgfnames.c
index e612ace7d8e..9a68163dd76 100644
--- a/src/common/pgfnames.c
+++ b/src/common/pgfnames.c
@@ -65,8 +65,8 @@ pgfnames(const char *path)
}
errno = 0;
}
-#ifdef WIN32
+#ifdef WIN32
/*
* This fix is in mingw cvs (runtime/mingwex/dirent.c rev 1.4), but not in
* released version
@@ -74,6 +74,7 @@ pgfnames(const char *path)
if (GetLastError() == ERROR_NO_MORE_FILES)
errno = 0;
#endif
+
if (errno)
{
#ifndef FRONTEND
diff --git a/src/port/pgcheckdir.c b/src/port/pgcheckdir.c
index 665b5c10999..fc97f8cc1da 100644
--- a/src/port/pgcheckdir.c
+++ b/src/port/pgcheckdir.c
@@ -68,7 +68,6 @@ pg_check_dir(const char *dir)
}
#ifdef WIN32
-
/*
* This fix is in mingw cvs (runtime/mingwex/dirent.c rev 1.4), but not in
* released version