]> granicus.if.org Git - python/commit
bpo-32635: Fix a segfault when importing the crypt module with libxcrypt. (#5284)
authorstratakis <cstratak@redhat.com>
Tue, 23 Jan 2018 15:11:24 +0000 (16:11 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 23 Jan 2018 15:11:24 +0000 (16:11 +0100)
commite768c86ef442ef89004089a8a34ce5909ffb90f2
treed332469497ed5a11fb27db5c7dce129544766476
parent370d04d1dcca50a52d59f40aff4d11434f71df6b
 bpo-32635: Fix a segfault when importing the crypt module with libxcrypt. (#5284)

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.
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