[Issue 12114] buildNormalizedPath shouldn't normalize current path to empty string
https://issues.dlang.org/show_bug.cgi?id=12114 Andrei Alexandrescu changed: What|Removed |Added Version|unspecified |D2 --
[Issue 12114] buildNormalizedPath shouldn't normalize current path to empty string
https://issues.dlang.org/show_bug.cgi?id=12114 --- Comment #5 from github-bugzi...@puremagic.com --- Commits pushed to 2.067 at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/5462585245e3896b926dc8d39e72b17f55ffb003 Fix Issue 12114 https://github.com/D-Programming-Language/phobos/commit/3abf8c1a297429850949c424dee5f87b974f3f32 Merge pull request #2791 from CromFr/issue_12114 --
[Issue 12114] buildNormalizedPath shouldn't normalize current path to empty string
https://issues.dlang.org/show_bug.cgi?id=12114 github-bugzi...@puremagic.com changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |FIXED --
[Issue 12114] buildNormalizedPath shouldn't normalize current path to empty string
https://issues.dlang.org/show_bug.cgi?id=12114 Temtaime changed: What|Removed |Added Status|RESOLVED|REOPENED CC||temta...@gmail.com Resolution|FIXED |--- --- Comment #4 from Temtaime --- There's a typo « It will return "." is the path leads to the starting directory ». Not « is » but « if ». --
[Issue 12114] buildNormalizedPath shouldn't normalize current path to empty string
https://issues.dlang.org/show_bug.cgi?id=12114 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/5462585245e3896b926dc8d39e72b17f55ffb003 Fix Issue 12114 buildNormalizedPath shouldn't normalize current path to empty string https://github.com/D-Programming-Language/phobos/commit/3abf8c1a297429850949c424dee5f87b974f3f32 Merge pull request #2791 from CromFr/issue_12114 Fix Issue 12114 - buildNormalizedPath returns null instead of "." --
[Issue 12114] buildNormalizedPath shouldn't normalize current path to empty string
https://issues.dlang.org/show_bug.cgi?id=12114 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 12114] buildNormalizedPath shouldn't normalize current path to empty string
https://issues.dlang.org/show_bug.cgi?id=12114 Thibaut CHARLES changed: What|Removed |Added CC||cro...@gmail.com --- Comment #2 from Thibaut CHARLES --- What should happen if you do buildNormalizedPath(".", "") ? --
[Issue 12114] buildNormalizedPath shouldn't normalize current path to empty string
https://d.puremagic.com/issues/show_bug.cgi?id=12114 Vladimir Panteleev changed: What|Removed |Added CC||thecybersha...@gmail.com --- Comment #1 from Vladimir Panteleev 2014-02-09 04:13:33 EET --- (In reply to comment #0) > 2. To reduce the chances of accidental bugs like this: > auto from = buildNormalizedPath(...); > executeShell("cp "~from~ " target"); // Oops, the "from" argument might be > missing! For the record and as an aside, this is poor practice. escapeShellCommand should be used to build the command line, or (for this example) even better, execute instead of executeShell. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---