Mail Archives: djgpp-workers/2001/06/10/17:55:08.1
Hello.
Eli Zaretskii wrote:
> Btw, Richard: there seems to be a bug in Fileutils: they do find
> hidden and system files even without the -a flag. The original port
> of Fileutils 3.16 built with v2.01 did TRT, IIRC.
>
> It seems like the problem is that the original ported code assumed
> that `readdir' skips hidden files, and it took care to set the
> __OPENDIR_FIND_HIDDEN flag when the user options required that.
> However, beginning with v2.02, `readdir' finds hidden files by
> default, so Fileutils should now set the __OPENDIR_NO_HIDDEN flag at
> startup.
Thanks for the bug report. I'll fix that at the weekend when I'm Fileutils
bug bashing.
BTW Fileutils 3.16 is probably bitten by this bug now too. The source for
the 3.16 port appears to set the opendir flags in the same way. I haven't
tested with 3.16 binaries, though.
Thanks, bye, Rich =]
--
Richard Dawe
http://www.phekda.freeserve.co.uk/richdawe/
- Raw text -