digitalmars.D.bugs - [Issue 6127] New: std.path.dirname returns the incorrect directory
- d-bugmail puremagic.com (26/26) Jun 08 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6127
- d-bugmail puremagic.com (12/12) Jun 08 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6127
http://d.puremagic.com/issues/show_bug.cgi?id=6127 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 AssignedTo: nobody puremagic.com ReportedBy: robert octarineparrot.com --- Comment #0 from Robert Clipsham <robert octarineparrot.com> 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 08 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6127 Robert Clipsham <robert octarineparrot.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Robert Clipsham <robert octarineparrot.com> 2011-06-08 21:59:33 BST --- This bug is invalid, sorry. I neglected to check the arguments to the function were what I expected them to be. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 08 2011