[3.11] [3.12] gh-63760: Don't declare gethostname() on Solaris (GH-108817) (GH-108824) by miss-islington · Pull Request #108832 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Merged
Merged
Conversation
miss-islington
commented
Sep 2, 2023
miss-islington
commented
Contributor
gh-63760: Don't declare gethostname() on Solaris (GH-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
(cherry picked from commit 7269916)
Co-authored-by: Victor Stinner vstinner@python.org
Co-authored-by: Jakub Kulík Kulikjak@gmail.com
(cherry picked from commit 0e6d582)
…GH-108817) (pythonGH-108824) pythongh-63760: Don't declare gethostname() on Solaris (pythonGH-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 (cherry picked from commit 7269916) Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Jakub Kulík <Kulikjak@gmail.com> (cherry picked from commit 0e6d582)
This was referenced
Closed
bedevere-bot
added
the
awaiting review
label
vstinner
merged commit
b30c83e
into
python:3.11
bedevere-bot
removed
the
awaiting review
label
miss-islington
deleted the
backport-7269916-3.11
branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment