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
Created attachment 651 [details] solution: pay attention to altsep
Fixed in svn r1692. The fix will be included in release 2.048. Thank you for the patch!