Bug 22738 – std.file.tempDir adds an addition / even when it already has one
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Mac OS X
Creation time
2022-02-04T21:46:51Z
Last change time
2022-02-07T08:54:50Z
Keywords
pull
Assigned to
No Owner
Creator
Richard Cattermole
Comments
Comment #0 by alphaglosined — 2022-02-04T21:46:51Z
In #17488 it was introduced that tempDir would add an additional forward slash on POSIX regardless of it already having it.
As a result, this has broken dub's CI (easily worked around however).
Comment #1 by dlang-bot — 2022-02-05T14:55:13Z
@rikkimax created dlang/phobos pull request #8373 "Fix Issue 22738 - std.file.tempDir adds an addition / even when it already has one" fixing this issue:
- Fix Issue 22738 - std.file.tempDir adds an addition / even when it already has one
https://github.com/dlang/phobos/pull/8373
Comment #2 by dlang-bot — 2022-02-07T08:54:50Z
dlang/phobos pull request #8373 "Fix Issue 22738 - std.file.tempDir adds an addition / even when it already has one" was merged into master:
- 33e95aea0250abb4a6fbccfdc0e5abde5a598117 by rikki cattermole:
Fix Issue 22738 - std.file.tempDir adds an addition / even when it already has one
https://github.com/dlang/phobos/pull/8373