1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-15 14:02:29 +03:00

Remove MinGW readdir/errno bug workaround fixed on 2003-10-10

This commit is contained in:
Bruce Momjian
2014-03-21 13:47:37 -04:00
parent 6f03927fce
commit 1494931d73
9 changed files with 0 additions and 66 deletions

View File

@@ -564,12 +564,6 @@ walkdir(char *path, void (*action) (char *fname, bool isdir))
(*action) (subpath, false);
}
#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"),