commit | 0e6d582b3b73a88e71cae04327b31a1ee203722c | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Sat Sep 02 19:54:59 2023 +0200 |
committer | GitHub <noreply@github.com> | Sat Sep 02 17:54:59 2023 +0000 |
tree | 292ffe0376a095ef2453e7a33425b48e17793f9e | |
parent | bac1e6d695a11cff270e663197f3cecd001fa556 [diff] |
gh-63760: Don't declare gethostname() on Solaris (#108817) Since 2005, Solaris defines gethostname(). socketmodule.c no longer has to define gethostname() for Solaris. Oracle Solaris and OpenSolaris have patches to remove the gethostname() definition in Python: * https://github.com/oracle/solaris-userland/blob/master/components/python/python37/patches/15-gethostname.patch * https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/python/python37/patches/15-gethostname.patch * https://github.com/omniosorg/omnios-build/blob/master/build/python27/patches/24-gethostname.patch Co-authored-by: Jakub KulĂk <Kulikjak@gmail.com>