Skip to content

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

Merged
zooba merged 2 commits intopython:masterfrom
gongminmin:FixDirnameW
May 18, 2020
Merged

bpo-40653: Move _dirnameW out of #ifdef HAVE_SYMLINK/#endif#20144
zooba merged 2 commits intopython:masterfrom
gongminmin:FixDirnameW

Conversation

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

@miss-islington
Copy link
Copy Markdown
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
…onGH-20144)

(cherry picked from commit 7f21c9a)

Co-authored-by: Minmin Gong <gongminmin@msn.com>
@bedevere-bot
Copy link
Copy Markdown

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 18, 2020
…onGH-20144)

(cherry picked from commit 7f21c9a)

Co-authored-by: Minmin Gong <gongminmin@msn.com>
@bedevere-bot
Copy link
Copy Markdown

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
…0144)

(cherry picked from commit 7f21c9a)

Co-authored-by: Minmin Gong <gongminmin@msn.com>
miss-islington added a commit that referenced this pull request May 18, 2020
…0144)

(cherry picked from commit 7f21c9a)

Co-authored-by: Minmin Gong <gongminmin@msn.com>
@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