Comment #0 by ellery-newcomer — 2010-06-01T14:50:06Z
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
Comment #1 by ellery-newcomer — 2010-06-01T14:51:30Z
Created attachment 651
solution: pay attention to altsep
Comment #2 by rsinfu — 2010-06-23T21:14:38Z
Fixed in svn r1692. The fix will be included in release 2.048.
Thank you for the patch!