@@ -845,12 +845,6 @@ FindEndOfXLOG(void)
845
845
}
846
846
}
847
847
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
-
854
848
if (errno )
855
849
{
856
850
fprintf (stderr ,_ ("%s: could not read directory \"%s\": %s\n" ),
@@ -908,12 +902,6 @@ KillExistingXLOG(void)
908
902
}
909
903
}
910
904
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
-
917
905
if (errno )
918
906
{
919
907
fprintf (stderr ,_ ("%s: could not read directory \"%s\": %s\n" ),
@@ -966,12 +954,6 @@ KillExistingArchiveStatus(void)
966
954
}
967
955
}
968
956
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
-
975
957
if (errno )
976
958
{
977
959
fprintf (stderr ,_ ("%s: could not read directory \"%s\": %s\n" ),