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
>
>
>