[proxy] web.archive.org← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light
/ cpython Public

Conversation

Copy link
Contributor

benjaminp commented Sep 12, 2018

pyconfig.h.in Outdated
@@ -557,9 +557,6 @@
/* Define to 1 if you have the 'lchflags' function. */
#undef HAVE_LCHFLAGS

/* Define to 1 if you have the `lchmod' function. */
#undef HAVE_LCHMOD
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently AC_CHECK_FUNCS defines HAVE_* preprocessor macro when a function is found, but AC_CHECK_FUNC does not.
So AC_CHECK_FUNC(lchmod) should be changed to AC_CHECK_FUNCS(lchmod).
Then above deletion from pyconfig.h.in should disappear.

benjaminp merged commit ed709d5 into master Sep 13, 2018
Copy link
Contributor

Thanks @benjaminp for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒⛏🤖

benjaminp deleted the benjamin-lchmod-fix branch September 13, 2018 00:22
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 13, 2018
…9247)

A fix for 883702e.
(cherry picked from commit ed709d5)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
Copy link

GH-9249 is a backport of this pull request to the 3.7 branch.

Copy link
Contributor

Sorry, @benjaminp, I could not cleanly backport this to 3.6 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker ed709d5699716bf7237856dc20aba321e2dfff6d 3.6

benjaminp added a commit that referenced this pull request Sep 13, 2018
…9247)

A fix for 883702e..
(cherry picked from commit ed709d5)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
miss-islington added a commit that referenced this pull request Sep 13, 2018
A fix for 883702e.
(cherry picked from commit ed709d5)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants