Skip to content

FoundationEssentials: correct path canonicalisation handling on Windows #639

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 2 commits into from
May 30, 2024

Conversation

compnerd
Copy link
Member

Strip the extended path prefix for bypassing the Win32 API layer. This is guaranteed to be prefixed on strings as per the documentation.

@compnerd compnerd requested review from parkera and jmschonfeld May 29, 2024 15:17
Strip the extended path prefix for bypassing the Win32 API layer. This
is guaranteed to be prefixed on strings as per the documentation.
@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd compnerd requested a review from jmschonfeld May 30, 2024 20:07
@jmschonfeld jmschonfeld merged commit 08d50c1 into swiftlang:main May 30, 2024
2 checks passed
@compnerd compnerd deleted the canonical branch May 30, 2024 20:13
ahoppen added a commit to ahoppen/swift-tools-support-core that referenced this pull request Oct 10, 2024
This aligns the implementation of resolveSymlinks with that of Foundation.String._resolvingSymlinksInPath, which received this canonicalization fix in swiftlang/swift-foundation#639.
ahoppen added a commit to ahoppen/swift-tools-support-core that referenced this pull request Oct 10, 2024
This aligns the implementation of resolveSymlinks with that of Foundation.String._resolvingSymlinksInPath, which received this canonicalization fix in swiftlang/swift-foundation#639.
shahmishal pushed a commit to swiftlang/swift-tools-support-core that referenced this pull request Oct 11, 2024
This aligns the implementation of resolveSymlinks with that of Foundation.String._resolvingSymlinksInPath, which received this canonicalization fix in swiftlang/swift-foundation#639.
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.

2 participants