delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/06/09/13:52:43

Date: Sat, 09 Jun 2001 20:51:12 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Richard Dawe <richdawe AT bigfoot DOT com>
Message-Id: <4634-Sat09Jun2001205112+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <CAEGKOHJKAAFPKOCLHDIIEACCEAA.tim.van.holder@pandora.be>
Subject: Re: .files on servers are perceived as readonly
References: <CAEGKOHJKAAFPKOCLHDIIEACCEAA DOT tim DOT van DOT holder AT pandora DOT be>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Tim Van Holder" <tim DOT van DOT holder AT pandora DOT be>
> Date: Sat, 9 Jun 2001 18:58:50 +0200
> 
> So I'd expect the same behaviour as on DOS: hidden files should not be
> seen in directory walks by default (as is the case now), and destructive
> commands such as rm should by default pretend not to find them.

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.

- Raw text -


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