]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Implement two suggestions by Jonathan Giddy: (1) in AIX, clear the
authorGuido van Rossum <guido@python.org>
Wed, 24 Mar 1999 17:24:33 +0000 (17:24 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 24 Mar 1999 17:24:33 +0000 (17:24 +0000)
commite7de2061b405d93cd5fa55c553d6cfc51bfb853e
treec701799fb66bce45edb0bc36ab59ccf4f3481be1
parent7b6c71f5a438647618d095b85728bf4d0c011353
Implement two suggestions by Jonathan Giddy: (1) in AIX, clear the
data struct before calling gethostby{name,addr}_r(); (2) ignore the
3/5/6 args determinations made by the configure script and switch on
platform identifiers instead:

AIX, OSF have 3 args
Sun, SGI have 5 args
Linux has 6 args

On all other platforms, undef HAVE_GETHOSTBYNAME_R altogether.
Modules/socketmodule.c