-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-34652: Remove lchmod from the big func checking block. #9247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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 |
There was a problem hiding this comment.
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.
Thanks @benjaminp for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7. |
GH-9249 is a backport of this pull request to the 3.7 branch. |
Sorry, @benjaminp, I could not cleanly backport this to |
A fix for 883702e.
https://bugs.python.org/issue34652