Re: Re: [HACKERS] Re: WIN32 errno patch

Magnus Naeslund(f) <mag@fbab.net>

From: "Magnus Naeslund\(f\)" <mag@fbab.net>
To: "Magnus Naeslund\(f\)" <mag@fbab.net>, "Mikhail Terekhov" <terekhov@emc.com>, "Tom Lane" <tgl@sss.pgh.pa.us>, <pgsql-patches@postgresql.org>
Date: 2001-08-18T14:15:31Z
Lists: pgsql-hackers

Attachments

Ok, where's a "system dependent hack" :)
It seems that win9x doesn't have the "netmsg.dll" so it defaults to "normal"
FormatMessage.
I wonder if one could load wsock32.dll or winsock.dll on those systems
instead of netmsg.dll.

Mikhail, could you please test this code on your nt4 system?
Could someone else test this code on a win98/95 system?

It works on win2k over here.

(code attached)

Magnus