Skip to content

bpo-34652: Remove lchmod from the big func checking block.#9247

Merged
benjaminp merged 2 commits into
masterfrom
benjamin-lchmod-fix
Sep 13, 2018
Merged

bpo-34652: Remove lchmod from the big func checking block.#9247
benjaminp merged 2 commits into
masterfrom
benjamin-lchmod-fix

Conversation

@benjaminp

@benjaminp benjaminp commented Sep 12, 2018

Copy link
Copy Markdown
Contributor

Comment thread pyconfig.h.in
#undef HAVE_LCHFLAGS

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

Copy link
Copy Markdown
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 benjaminp merged commit ed709d5 into master Sep 13, 2018
@miss-islington

Copy link
Copy Markdown
Contributor

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

@benjaminp 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>
@bedevere-bot

Copy link
Copy Markdown

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

@miss-islington

Copy link
Copy Markdown
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