diff options
Diffstat (limited to 'src/bin/initdb/initdb.c')
-rw-r--r-- | src/bin/initdb/initdb.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c index ce08494f492..b1dd1fe52fd 100644 --- a/src/bin/initdb/initdb.c +++ b/src/bin/initdb/initdb.c @@ -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"), |