delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/06/10/17:55:08.1

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3B23E1B4.3884E3BA@phekda.freeserve.co.uk>
Date: Sun, 10 Jun 2001 22:08:04 +0100
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.17 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: .files on servers are perceived as readonly
References: <CAEGKOHJKAAFPKOCLHDIIEACCEAA DOT tim DOT van DOT holder AT pandora DOT be> <4634-Sat09Jun2001205112+0300-eliz AT is DOT elta DOT co DOT il>
Reply-To: djgpp-workers AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019