]> granicus.if.org Git - postgresql/commit
Here is an updated version of the win32 readdir patch.
authorBruce Momjian <bruce@momjian.us>
Tue, 17 Feb 2004 03:45:17 +0000 (03:45 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 17 Feb 2004 03:45:17 +0000 (03:45 +0000)
commit1f17316a3d472156ec8086c1760a7097c671eaa2
tree5a5764f7391735a7f1e4b1cdd01d691e4662d57d
parentec6feaaed4f9fd8fe71e6de888cb1dd72b0872c8
Here is an updated version of the win32 readdir patch.

1) Now puts in exactly the same change as the current-cvs mingw code
does. (see
http://cvs.sourceforge.net/viewcvs.py/mingw/runtime/mingwex/dirent.c?r1=
1.3&r2=1.4, second part of the patch).

2) Updates both xlog.c and slru.c in backend/access/transam/

3) Also updates pg_resetxlog, which also uses readdir() and checks the
errno value after the loop.

Magnus Hagander
src/backend/access/transam/slru.c
src/backend/access/transam/xlog.c
src/bin/pg_resetxlog/pg_resetxlog.c