http://d.puremagic.com/issues/show_bug.cgi?id=2552
Summary: std.path.isabs broken for Windows Product: D Version: 1.030 Platform: PC URL: http://www.digitalmars.com/d/1.0/phobos/std_path.html OS/Version: Windows Status: NEW Severity: normal Priority: P3 Component: Phobos AssignedTo: bugzi...@digitalmars.com ReportedBy: darkuran...@gmail.com 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) Here is the program I used to test this -- see the comments in the source for instructions (they are importaint): http://paste.dprogramming.com/dpavbrtf As you can see, although all paths are reported as relative, they are indeed absolute. This is visible by the fact that main.d cannot find test-rel which lies in the same dir as the program itself. It can, however find test-abs, which lies the root of the drive. --