Skip to content
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

bpo-40653: Move _dirnameW out of #ifdef HAVE_SYMLINK/#endif #20144

Merged
merged 2 commits into from
May 18, 2020

Conversation

gongminmin
Copy link
Contributor

@gongminmin gongminmin commented May 17, 2020

_dirnameW is used in os__getdiskusage_impl, which is outside HAVE_SYMLINK. So if HAVE_SYMLINK is not defined (e.g., on UWP), it'll have compiling issues. Move _dirnameW out to fix this problem.

https://bugs.python.org/issue40653

@zooba zooba merged commit 7f21c9a into python:master May 18, 2020
@miss-islington
Copy link
Contributor

Thanks @gongminmin for the PR, and @zooba for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 18, 2020
@bedevere-bot
Copy link

GH-20185 is a backport of this pull request to the 3.8 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.8 only security fixes label May 18, 2020
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 18, 2020
@bedevere-bot
Copy link

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

miss-islington added a commit that referenced this pull request May 18, 2020
miss-islington added a commit that referenced this pull request May 18, 2020
@gongminmin gongminmin deleted the FixDirnameW branch May 20, 2020 02:00
arturoescaip pushed a commit to arturoescaip/cpython that referenced this pull request May 24, 2020
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