[Python-bugs-list] [ python-Bugs-505427 ] socket module fails to build on HPUX10
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 18 Jan 2002 13:09:01 -0800
Bugs item #505427, was opened at 2002-01-18 08:12
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=505427&group_id=5470
Category: Build
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Eddy De Greef (edg)
Assigned to: Nobody/Anonymous (nobody)
Summary: socket module fails to build on HPUX10
Initial Comment:
On HPUX10, the variable h_errno is undeclared.
Modules/socketmodule.c, line 1975:
PyH_Err(h_errno);
unless _XOPEN_SOURCE_EXTENDED is defined before
netdb.h is included.
Another option is to add an external declaration:
#ifdef __hpux
extern int h_errno;
#endif
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2002-01-18 13:09
Message:
Logged In: YES
user_id=21627
Does the second version of your patch also work on HPUX? Can
you point to official documentation on that matter?
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=505427&group_id=5470