[Issue 4260] New: windows & basename

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 1 14:50:11 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4260

           Summary: windows & basename
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: ellery-newcomer at utulsa.edu


--- Comment #0 from Ellery Newcomer <ellery-newcomer at utulsa.edu> 2010-06-01 14:50:06 PDT ---
the following spits out "home/ellery" and not the expected "ellery"

import std.stdio;
import std.path;
void main(){
    writeln(basename("home/ellery"));
}

dmd 2.046 windows

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list