[Issue 2838] std.file.rmdirRecurse fails

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 26 20:42:24 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=2838


Jonathan M Davis <jmdavisProg at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg at gmx.com


--- Comment #7 from Jonathan M Davis <jmdavisProg at gmx.com> 2010-09-26 20:41:38 PDT ---
I expect that this fix fixes bug# 1635 (which you (Andrei) recently closed as
worksforme) and bug #4929. In my patch for bug# 3848 (which also fixes this
problem), I added this test to the unittest for dirEntries so that this
situation would be caught:

foreach (DirEntry e; dirEntries("/usr/share/zoneinfo", SpanMode.depth))
{
    assert(e.isfile || e.isdir, e.fullname);
}


I don't know whether or not you think that it would be worth adding such a
test, but it it seems to be a test case which reliably catches the problem.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list