[Issue 10601] std.path.setExtension leaves trailing dot if extension is empty

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 29 08:31:03 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10601



--- Comment #2 from github-bugzilla at puremagic.com 2013-07-29 08:30:58 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/e43433f56682e8964596fbff5a9ea8b1fc32f927
Fix issue 10601.

If extension is empty, std.path.setExtension should be equivalent to
std.path.stripExtension. This special case is useful in generic code
that needs to alternate between, e.g., .exe on Windows and no executable
extension on Posix.

https://github.com/D-Programming-Language/phobos/commit/f2bd29cb97033ae041ebfd32690f01ddb25b98b7
Merge pull request #1409 from quickfur/issue10601

Fix issue 10601.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list