Eric Blake <[EMAIL PROTECTED]> wrote:

> According to Jim Meyering on 10/2/2006 11:19 AM:
>>> This error should be ignored.  After all, if a file name component is not a
>>> directory the file cannot exist, so rm -f should handle it the same as
>>> ENOENT.
>>
>> Thanks for reporting that.
>> Here's the patch I'll check in as soon as I write the test cases:
>
> Shouldn't this also include ELOOP?
>
> $ ln -s loop .
> $ rm -f loop/oops
> rm: cannot remove `loop/oops': Too many levels of symbolic links

Yes.  Thanks.
It should also include ENAMETOOLONG:

  $ rm -rf /t/$(printf %0257 1)/x 2> /dev/null || echo bug
  bug


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

Reply via email to