Summary: std.path.dirname returns the incorrect directory
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Robert Clipsham <> 2011-06-08 
21:56:20 BST ---
The assertion:
import std.path
void main()
     assert(dirname("./foo/bar") == "./foo");
fails, as dirname currently returns '.'. This is inconsistent with the dirname
utility, and is not the correct behaviour.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to