http://d.puremagic.com/issues/show_bug.cgi?id=2838
Summary: std.file.rmdirRecurse fails Product: D Version: 2.027 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: bugzi...@digitalmars.com ReportedBy: graham.stj...@internode.on.net The problem seems to be caused by incorrect behaviour of druntime's core.sys.posix.readdir, which fails to populate the dirent's d_type field - it is always set to 0. This causes directories to be identified as files and thus not recursed into. --