[PATCH] Win32 errno a little bit safer

From: "Magnus Naeslund\(f\)" <mag(at)fbab(dot)net>
To: <pgsql-patches(at)postgresql(dot)org>, <pgsql-hackers(at)postgresql(dot)org>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: [PATCH] Win32 errno a little bit safer
Date: 2001-08-23 21:22:14
Message-ID: 04ba01c12c19$ae215870$020a0a0a@totalmef
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Hello, i just reviewed the win32 errno patch and i saw that maybe i didn't
really played it totally safe in my last suggestion, the system table might
pick up the msg but not the netmsg.dll, so better try both.
I also added a hex printout of the "errno" appended to all messages, that's
nicer.

If anyone hate my coding style, or that i'm using goto constructs, just tell
me, and i'll rework it into a nested if () thing.

Patch attached.

Magnus

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Programmer/Networker [|] Magnus Naeslund
PGP Key: http://www.genline.nu/mag_pgp.txt
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Attachment Content-Type Size
win32_strerror_patch1.txt text/plain 2.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-08-23 21:56:51 Re: Re: [JDBC] New backend functions? [was Re: JDBC changes for 7.2... some questions...]
Previous Message Peter Harvey 2001-08-23 21:02:16 Reverse Engineering

Browse pgsql-patches by date

  From Date Subject
Next Message Rene Pijlman 2001-08-23 21:37:27 Re: [PATCHES] JDBC patch for util.Serialize and jdbc2.PreparedStatement
Previous Message Bruce Momjian 2001-08-23 20:26:31 Re: JDBC patch for util.Serialize and jdbc2.PreparedStatement