diff options
Diffstat (limited to 'src/bin/pg_resetxlog/pg_resetxlog.c')
-rw-r--r-- | src/bin/pg_resetxlog/pg_resetxlog.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/bin/pg_resetxlog/pg_resetxlog.c b/src/bin/pg_resetxlog/pg_resetxlog.c index af2cec7e932..b5d480e7b80 100644 --- a/src/bin/pg_resetxlog/pg_resetxlog.c +++ b/src/bin/pg_resetxlog/pg_resetxlog.c @@ -845,12 +845,6 @@ FindEndOfXLOG(void) } } -#ifdef WIN32 - /* Bug in old Mingw dirent.c; fixed in mingw-runtime-3.2, 2003-10-10 */ - if (GetLastError() == ERROR_NO_MORE_FILES) - errno = 0; -#endif - if (errno) { fprintf(stderr, _("%s: could not read directory \"%s\": %s\n"), @@ -908,12 +902,6 @@ KillExistingXLOG(void) } } -#ifdef WIN32 - /* Bug in old Mingw dirent.c; fixed in mingw-runtime-3.2, 2003-10-10 */ - if (GetLastError() == ERROR_NO_MORE_FILES) - errno = 0; -#endif - if (errno) { fprintf(stderr, _("%s: could not read directory \"%s\": %s\n"), @@ -966,12 +954,6 @@ KillExistingArchiveStatus(void) } } -#ifdef WIN32 - /* Bug in old Mingw dirent.c; fixed in mingw-runtime-3.2, 2003-10-10 */ - if (GetLastError() == ERROR_NO_MORE_FILES) - errno = 0; -#endif - if (errno) { fprintf(stderr, _("%s: could not read directory \"%s\": %s\n"), |