winsock_strerror fix

From: Gerhard Häring <haering_python(at)gmx(dot)de>
To: pgsql-patches(at)postgresql(dot)org
Subject: winsock_strerror fix
Date: 2001-09-30 13:57:22
Message-ID: 20010930155722.A587@lilith.hqd-internal
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

winsock_strerror crashed on me. This fixes a line of code that looks
cleverer than it actually is ;-) Braces are good for you :-)

Gerhard
--
mail: gerhard <at> bigfoot <dot> de registered Linux user #64239
web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))

Attachment Content-Type Size
winsock_strerror_fix.dif text/plain 669 bytes

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2001-09-30 16:24:06 Re: winsock_strerror fix
Previous Message Tom Lane 2001-09-30 00:13:45 Re: Trailing semicolons in psql patch