phobo's std.file is completely broke!

Neia Neutuladh neia at ikeran.org
Sat Sep 15 01:15:46 UTC 2018


On Friday, 14 September 2018 at 19:42:39 UTC, Josphe Brigmo wrote:
> It's a bug, but how the hell can I reproduce examples when it 
> depends on the file system?

Something like this (though I don't know much about Windows, so 
this might be wrong):

auto path = getcwd;
auto dir = `0123456789abcdef`;
foreach (i; 0..20)
{
   path = buildPath(path, dir);
}
system("mkdir " ~ path);
dirEntries(path, SpanMode.shallow);

And describe what filesystem you're using (presumably NTFS), what 
OS and version, 64-bit vs 32-bit, etc.


More information about the Digitalmars-d mailing list