mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Remove MinGW readdir/errno bug workaround fixed on 2003-10-10
This commit is contained in:
@ -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));
|
||||
|
Reference in New Issue
Block a user