Here is an updated version of the win32 readdir patch.
Bruce Momjian <bruce@momjian.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/slru.c | modified | +7 −1 |
| src/backend/access/transam/xlog.c | modified | +7 −1 |
| src/bin/pg_resetxlog/pg_resetxlog.c | modified | +7 −1 |