@@ -845,12 +845,6 @@ FindEndOfXLOG(void)
845845}
846846}
847847
848- #ifdef WIN32
849- /* Bug in old Mingw dirent.c; fixed in mingw-runtime-3.2, 2003-10-10 */
850- if (GetLastError ()== ERROR_NO_MORE_FILES )
851- errno = 0 ;
852- #endif
853-
854848if (errno )
855849{
856850fprintf (stderr ,_ ("%s: could not read directory \"%s\": %s\n" ),
@@ -908,12 +902,6 @@ KillExistingXLOG(void)
908902}
909903}
910904
911- #ifdef WIN32
912- /* Bug in old Mingw dirent.c; fixed in mingw-runtime-3.2, 2003-10-10 */
913- if (GetLastError ()== ERROR_NO_MORE_FILES )
914- errno = 0 ;
915- #endif
916-
917905if (errno )
918906{
919907fprintf (stderr ,_ ("%s: could not read directory \"%s\": %s\n" ),
@@ -966,12 +954,6 @@ KillExistingArchiveStatus(void)
966954}
967955}
968956
969- #ifdef WIN32
970- /* Bug in old Mingw dirent.c; fixed in mingw-runtime-3.2, 2003-10-10 */
971- if (GetLastError ()== ERROR_NO_MORE_FILES )
972- errno = 0 ;
973- #endif
974-
975957if (errno )
976958{
977959fprintf (stderr ,_ ("%s: could not read directory \"%s\": %s\n" ),