Mikulas Patocka <[EMAIL PROTECTED]> wrote:
> I have a system that precaches directory content at opendir call and I
> found that coreutils-6.7 rm -r command doesn't work on it (it used to work
> fine in coreutils 5).
>
> The problem is this: when walking up to the root in directory tree, rm
> opens parent directory with opendir, then deletes its subdirectory with
> rmdir and then starts reading the parent with readdir --- readdir reads
> just deleted entry, rm tries to delete it again and fails.

Thanks again for that report and patch.
I've applied your patch, along with a little follow-up one.
Details here:

  http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=summary


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to