diff options
author | Bruce Momjian <bruce@momjian.us> | 2014-03-21 13:47:37 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2014-03-21 13:47:37 -0400 |
commit | 1494931d7375ccdc6afd34f135bc708f8954eecc (patch) | |
tree | 2e2262b09d4fb94b1f7fe4d8ebf6c21ba32bea72 /src/common/pgfnames.c | |
parent | 6f03927fce038096f53ca67eeab9adb24938f8a6 (diff) | |
download | postgresql-1494931d7375ccdc6afd34f135bc708f8954eecc.tar.gz postgresql-1494931d7375ccdc6afd34f135bc708f8954eecc.zip |
Remove MinGW readdir/errno bug workaround fixed on 2003-10-10
Diffstat (limited to 'src/common/pgfnames.c')
-rw-r--r-- | src/common/pgfnames.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/common/pgfnames.c b/src/common/pgfnames.c index 51a848a1fdb..016da325142 100644 --- a/src/common/pgfnames.c +++ b/src/common/pgfnames.c @@ -64,12 +64,6 @@ pgfnames(const char *path) } } -#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) { #ifndef FRONTEND |