[Issue 1967] New: getDirName does not seem to use altsep on windows
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 1 08:11:53 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1967
Summary: getDirName does not seem to use altsep on windows
Product: D
Version: 1.028
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: bugzilla at digitalmars.com
ReportedBy: jason at spashett.com
string filename = `data/models/comet/comet.obj`;
getDirName(filename);
returns "" which I think is incorrect since the "/" path separator is valid for
system calls.
string filename = `data\models\comet\comet.obj`;
getDirName(filename);
returns `data\models\comet` which is correct.
--
More information about the Digitalmars-d-bugs
mailing list