libpqtypes - libpqtypes: AIX busted inet/cidr types by not properly

From: achernow(at)pgfoundry(dot)org (User Achernow)
To: pgsql-committers(at)postgresql(dot)org
Subject: libpqtypes - libpqtypes: AIX busted inet/cidr types by not properly
Date: 2009-01-23 18:52:42
Message-ID: 20090123185242.80D3417ADE66@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
AIX busted inet/cidr types by not properly zeroing sockaddr structs. Defined AI_NUMERICHOST for AIX 4.3, if getaddrinfo fails with EAI_BADFLAGS, getaddrinfo runs again w/o numeric host flag.

Modified Files:
--------------
libpqtypes/src:
network.c (r1.5 -> r1.6)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/libpqtypes/libpqtypes/src/network.c.diff?r1=1.5&r2=1.6)
regression-test.c (r1.9 -> r1.10)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/libpqtypes/libpqtypes/src/regression-test.c.diff?r1=1.9&r2=1.10)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-01-23 19:58:06 pgsql: Tweak the existing special case for AIX in pg_getaddrinfo_all()
Previous Message User Achernow 2009-01-23 18:50:35 libpqtypes - libpqtypes: changed PGchar typedef to be signed char, AIX