Re: temp patch for win32 readdir issue
От | Magnus Hagander |
---|---|
Тема | Re: temp patch for win32 readdir issue |
Дата | |
Msg-id | 6BCB9D8A16AC4241919521715F4D8BCE34B13B@algol.sollentuna.se обсуждение исходный текст |
Ответ на | temp patch for win32 readdir issue ("Magnus Hagander" <mha@sollentuna.net>) |
Список | pgsql-patches |
Oops. Naturally, if this is accepted, the same change needs to be done in xlog.c. I can update the patch if you want me to, or you can jus tmanually copy the code over :) //Magnus >-----Original Message----- >From: Magnus Hagander >Sent: den 4 februari 2004 23:44 >To: pgsql-patches@postgresql.org >Subject: [PATCHES] temp patch for win32 readdir issue > > >Ok, so I know this is pretty ugly. But there is a bug in mingw (current >release - it's fixed in the snapshot version) with regards to readdir() >(see previous mails on win32-hackers). Basically, it doesn't set errno >correctly. > >This patch will catch this error with regards to the readdir(), wrap a >change in #ifdef WIN32, and emit a warning at compile time. This is a >temporary measure until mingw releases a version that has this fixed. > >Applying this will make it easier on those who want to compile >postgresql on win32, since it removes a manual step. Which is why I'm >giving it a shot posting it here even though it's ugly. > >//Magnus >
В списке pgsql-patches по дате отправления: