Skip to content

Remove null byte after home directory on Windows #1596

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

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Jul 31, 2024

This works around swiftlang/swift-foundation#807, which caused a null byte to be incorrectly added after the user name's home directory, causing, among others, directory iteration to recurse indefinitely, always adding another level of the user's name.

This works around https://github.com/apple/swift-corelibs-foundation/issues/5041, which caused a null byte to be incorrectly added after the user name's home directory, causing, among others, directory iteration to recurse indefinitely, always adding another level of the user's name.
@ahoppen ahoppen requested review from bnbarham and hamishknight July 31, 2024 02:02
@ahoppen
Copy link
Member Author

ahoppen commented Jul 31, 2024

@swift-ci Please test

@ahoppen ahoppen merged commit 889a8db into swiftlang:main Jul 31, 2024
3 checks passed
@ahoppen ahoppen deleted the nullbyte-after-user branch July 31, 2024 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants