Updated win32 readdir patch - Mailing list pgsql-patches

From Magnus Hagander
Subject Updated win32 readdir patch
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE34B16E@algol.sollentuna.se
Whole thread Raw
Responses Re: Updated win32 readdir patch  (Neil Conway <neilc@samurai.com>)
Re: Updated win32 readdir patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [pgsql-hackers-win32] Updated win32 readdir patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Updated win32 readdir patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Hello!

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.

Claudio - if this is not applied, please updated the win32 status page
to point to this patch instead of the previous incomplete one.

//Magnus
 <<win32_readdir.patch>>

Attachment

pgsql-patches by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [HACKERS] dollar quoting
Next
From: "Magnus Hagander"
Date:
Subject: Re: [pgsql-hackers-win32] win32 signals, part 5