[Issue 2790] New: std.path.join with version(Windows)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Apr 3 07:19:02 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2790
Summary: std.path.join with version(Windows)
Product: D
Version: 2.027
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: bugzilla at digitalmars.com
ReportedBy: rayerd.wiz at gmail.com
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
}
}
--
More information about the Digitalmars-d-bugs
mailing list