]> 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 10:11:16 +0000 (02:11 -0800)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 24 Jan 2018 10:11:16 +0000 (11:11 +0100)
commit8e230e1eb3d38ad557b5dc5c31166afa35c01ff3
tree1756c08ea71d38d47a8f9efedaed69f664137cc8
parent6abbf14a876ee1e04d1493bb27025f2f0aa56430
bpo-32635: Fix a segfault when importing the crypt module with libxcrypt. (GH-5284) (#5296)

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