[Issue 2838] std.file.rmdirRecurse fails
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Apr 15 19:32:55 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2838
unknown at simplemachines.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |unknown at simplemachines.org
------- Comment #2 from unknown at simplemachines.org 2009-04-15 21:33 -------
Unable to reproduce on Windows or Linux. Everything deletes fine.
I should note that readdir() is a libc function, afaik. It's not a D-specific
function. If it's not properly filling the structure it's a system problem.
Also note, readdir() is not re-entrant. There's a readdir_r() for that, which
phobos is not using. If you are using rmdirRecurse() in a threaded app with
other directory reading happening, that may be the cause of your problems.
-[Unknown]
--
More information about the Digitalmars-d-bugs
mailing list