[Patches] [ python-Patches-722839 ] HAVE_GAI_STRERROR typo fix

SourceForge.net noreply@sourceforge.net
Fri, 18 Apr 2003 14:03:00 -0700


Patches item #722839, was opened at 2003-04-16 23:59
Message generated for change (Comment added) made by bkc
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=722839&group_id=5470

Category: Modules
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Brad Clements (bkc)
Assigned to: Martin v. Löwis (loewis)
Summary: HAVE_GAI_STRERROR typo fix

Initial Comment:
This patch fixes a typo in getaddrinfo.c. The #ifdef 
doesn't match the define in pyconfig.h


----------------------------------------------------------------------

>Comment By: Brad Clements (bkc)
Date: 2003-04-18 21:03

Message:
Logged In: YES 
user_id=4631

Oops, sorry.

The description of this patch is not correct, but it's still 
needed.  pyconfig.h defines "HAVE_GAI_STRERROR" but 
Modules/getaddrinfo.c doesn't use the #define to control the 
declaration of gai_strerror()

Note that socketmodule.c does use this #define. I'm 
suggesting that getaddrinfo.c should also use it to NOT define 
gai_strerror.



----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-04-18 20:15

Message:
Logged In: YES 
user_id=21627

What specifically is the typo you are referring to? I cannot
see any ifdef at all, and your patch does not correct any ifdef.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=722839&group_id=5470