This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author risto3
Recipients risto3
Date 2013-11-12.14:39:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
I'd like to have reopened this previous issue as it is still very much the case.

I believe as well that the common distros (I can easily verify OpenIndiana and OmniOS) patch it out (patch file attached). 
Upstream/oracle/userland-gate seems to as well.

It is time to retire this check, or at least take into consideration the parametrization from unistd.h:

#if defined(_XPG4_2)
extern int gethostname(char *, size_t);
#elif  !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
extern int gethostname(char *, int);
#endif
History
Date User Action Args
2013-11-12 14:39:41risto3setrecipients: + risto3
2013-11-12 14:39:41risto3setmessageid: <[email protected]>
2013-11-12 14:39:41risto3linkissue19561 messages
2013-11-12 14:39:40risto3create