[Issue 17488] Platform-inconsistent behavior from getTempDir()

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jun 10 14:02:31 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17488

Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow at gmail.com

--- Comment #1 from Vladimir Panteleev <thecybershadow at gmail.com> ---
(In reply to dlang from comment #0)
> I can do the PR if I know the desired behaviour (add the slash to POSIX or
> remove it from Windows).

Definitely add it - double slashes will behave the same as a single slash, so
adding a slash where existing code also added one will not result in change of
behavior. Doing it the other way around is likely to break programs on Windows.

--


More information about the Digitalmars-d-bugs mailing list