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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jun 11 15:43:01 PDT 2017


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

--- Comment #2 from dlang at ryanjframe.com ---
According the the tempDir documentation: On all platforms, tempDir returns "."
on failure, representing the current working directory.

On failure, the value of getcwd() is returned; on my test (Windows and Ubuntu
14.04) that's the absolute directory, not ".". Should I change the
documentation to match the code, or change the code to match the docs?

--


More information about the Digitalmars-d-bugs mailing list