diff options
Diffstat (limited to 'contrib/pg_standby/pg_standby.c')
-rw-r--r-- | contrib/pg_standby/pg_standby.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/contrib/pg_standby/pg_standby.c b/contrib/pg_standby/pg_standby.c index 9134d649cd6..d6b169264c3 100644 --- a/contrib/pg_standby/pg_standby.c +++ b/contrib/pg_standby/pg_standby.c @@ -284,12 +284,6 @@ CustomizableCleanupPriorWALFiles(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 archive location \"%s\": %s\n", progname, archiveLocation, strerror(errno)); |