You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On macOS, the result is ".." while on Linux, the result is ".". I think the former makes more sense since ".." represents parent directory on unix and treating part of it as file extension is a bit of a stretch. Another argument for aligning behavior to macOS is the fact that it existed longer therefore has more potential users.
Environment
Xcode Version 9.2 (9C40b)
and
commit c5c6cc8 on swift-corelibs-foundation, master as this bug is filed.
Additional Detail from JIRA
md5: cf95ee01bcbcf44a1754ba6faca401b1
Issue Description:
The code in question:
On macOS, the result is ".." while on Linux, the result is ".". I think the former makes more sense since ".." represents parent directory on unix and treating part of it as file extension is a bit of a stretch. Another argument for aligning behavior to macOS is the fact that it existed longer therefore has more potential users.
This bug manifests here: https://travis-ci.org/kylef/PathKit/builds/289637066
The PathKit project CI is failing because it relies on this behavior and the example value is being used in tests on both macOS and Linux.
The text was updated successfully, but these errors were encountered: