Bug 1967 – getDirName does not seem to use altsep on windows
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2008-04-01T10:11:00Z
Last change time
2014-02-24T15:59:46Z
Assigned to
bugzilla
Creator
jason
Comments
Comment #0 by jason — 2008-04-01T10:11:52Z
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.