]> granicus.if.org Git - python/commit
bpo-32635: Fix a segfault when importing the crypt module with libxcrypt. (GH-5284...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 24 Jan 2018 09:51:39 +0000 (01:51 -0800)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 24 Jan 2018 09:51:39 +0000 (10:51 +0100)
commit6ccdad7b1f6fb316e4e85aa1eba8fbdc3169741e
treee9e40a0dc454e368e22d2088ab0cf171972af85f
parent8ca036d4716fc86ff42474ba35d3cd32f0188a15
bpo-32635: Fix a segfault when importing the crypt module with libxcrypt. (GH-5284) (#5295)

glibc is deprecating libcrypt in favor of libxcrypt, however python assumes
that crypt.h will always be included. This change makes the header inclusion
explicit when libxcrypt is present on the system.
(cherry picked from commit e768c86ef442ef89004089a8a34ce5909ffb90f2)
Include/Python.h
Misc/NEWS.d/next/Build/2018-01-23-15-33-40.bpo-32635.qHwIZy.rst [new file with mode: 0644]
configure
configure.ac
pyconfig.h.in