git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 886c0be)
C comments: remove odd blank lines after #ifdef WIN32 lines
2014年3月13日 05:42:24 +0000 (01:42 -0400)
2014年3月13日 05:42:24 +0000 (01:42 -0400)
A few more


diff --git a/src/backend/utils/mb/mbutils.c b/src/backend/utils/mb/mbutils.c
index 15cf0d806b389a1d0b5fa1e2667d13ca03fecabe..ad255ee693281e9fbd2d43137ceda1cfbe695a35 100644 (file)
--- 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 44231273fafbfefad18093f900a2b3b2eef148a8..61bd785307618479baa1241adb9faf366ab563ae 100644 (file)
--- 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 54690af0311300510c399061cd18be0ed38afc28..28a4f191f34bd2383cdb5fa73aec7761fbb12619 100644 (file)
--- 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 e612ace7d8e5bbd1caa1d78af166b270b46c5a2d..9a68163dd76b4d605969e26f035fd2ac9177b472 100644 (file)
--- 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 665b5c1099902dc3558c5dd69cf19fdac5a363cc..fc97f8cc1dac943cc40a089337a195bce44af871 100644 (file)
--- 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
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /