bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fileutils-4.1.9 rm command bug


From: Jim Meyering
Subject: Re: fileutils-4.1.9 rm command bug
Date: Wed, 28 May 2003 14:07:46 +0200

hezhenxing <address@hidden> wrote:
>    I think there is a bug in the file 'fileutils-4.1.9/src/remove.c', line 
> 523, the function is 'is_empty_dir', you 'opendir' the 'dir', but not 
> 'closedir' it. This does not cause any problems in most filesystems, but it 
> does cause problems in filesystems that do the (!d_unhashed(entry)) check 
> before they do the real deletion. you can't 'rm' directories in such 
> filesystem with '-i' or '-ir' option.

Thank you for reporting that.
That bug has been fixed for some time.
The latest release is here:

  ftp://ftp.gnu.org/gnu/coreutils/coreutils-5.0.tar.bz2
  (coreutils is the union of fileutils, textutils, and sh-utils)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]