Updated win32 readdir patch

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: <pgsql-patches(at)postgresql(dot)org>, "pgsql-hackers-win32" <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Updated win32 readdir patch
Date: 2004-02-08 21:24:25
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE34B16E@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32 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 Content-Type Size
win32_readdir.patch application/octet-stream 1.8 KB

Responses

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Magnus Hagander 2004-02-08 21:32:39 Re: [PATCHES] win32 signals, part 5
Previous Message Bruce Momjian 2004-02-08 01:53:23 Re: psql does not link with readline

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2004-02-08 21:32:39 Re: [PATCHES] win32 signals, part 5
Previous Message Andrew Dunstan 2004-02-08 20:14:11 Re: [HACKERS] dollar quoting