Skip site navigation (1) Skip section navigation (2)

[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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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: win32_strerror_patch1.txt
Description: text/plain (2.2 KB)

Responses

pgsql-hackers by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group