Bug 2790 – std.path.join with version(Windows)

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2009-04-03T09:19:00Z
Last change time
2015-06-09T01:18:03Z
Keywords
patch
Assigned to
andrei
Creator
rayerd.wiz

Attachments

IDFilenameSummaryContent-TypeSize
311std_path_d_2_027.patchfix std.path.jointext/plain2939

Comments

Comment #0 by rayerd.wiz — 2009-04-03T09:19:06Z
import std.stdio, std.path; void main() { version(Windows){ writefln(join("d","dmd","src")); // d\dmd (d\dmd\src by rights) } version(Posix){ writefln(join("d","dmd","src")); // d/dmd/src } }
Comment #1 by rayerd.wiz — 2009-04-03T09:20:08Z
Created attachment 311 fix std.path.join
Comment #2 by rayerd.wiz — 2009-09-03T11:35:51Z
This is very easily bug. I want to fix it next update.
Comment #3 by andrei — 2009-09-03T12:50:11Z
Sorry, I missed this one. The fix is now in svn and will be in the next release.