[Issue 2552] std.path.isabs broken for Windows
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jan 2 17:21:21 PST 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2552
------- Comment #1 from andrei at metalanguage.com 2009-01-02 19:21 -------
(In reply to comment #0)
> std.path.isabs(char[]) falsely reports paths as relative when they are, indeed,
> absolute. For example:
>
> isabs("/test") => 0 (should be 1)
> isabs("\test") => 0 (should be 1)
The drives are lacking. In Windows terminology, does a drive-less path still
qualify as absolute? (I looked around MSDN, couldn't find a good definition.)
--
More information about the Digitalmars-d-bugs
mailing list