Re: Re: Re: WIN32 errno patch
От | Magnus Naeslund\(f\) |
---|---|
Тема | Re: Re: Re: WIN32 errno patch |
Дата | |
Msg-id | 021801c12355$f07fbc60$020a0a0a@totalmef обсуждение исходный текст |
Ответ на | WIN32 errno patch (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
Forgot to CC. Magnus ----- Original Message ----- From: "Magnus Naeslund(f)" <mag@fbab.net> To: "Tom Lane" <tgl@sss.pgh.pa.us> Sent: Sunday, August 12, 2001 1:19 PM Subject: Re: [HACKERS] Re: Re: WIN32 errno patch > From: "Tom Lane" <tgl@sss.pgh.pa.us> > > >> It does not even compile: > > > Same behaviour here. > > > > When someone sends me a Windoze implementation of the proposed > > SOCK_STRERROR() macro, I'll see about fixing it. Till then > > I can't do much. > > As I said, the FormatMessage function is probably what we want. > I did a non threadsafe (not a crash thing, just if SOCK_STRERROR is called > the exact same time by two threads one thread will probably get the other > thread's message). > > The code + the testcase is attached. > > > regards, tom lane > > Magnus Naeslund > > >
В списке pgsql-hackers по дате отправления: