Date: Fri, 25 Aug 2000 19:42:15 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: broeker AT physik DOT rwth-aachen DOT de Message-Id: <1858-Fri25Aug2000194215+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b CC: djgpp-workers AT delorie DOT com In-reply-to: (message from Hans-Bernhard Broeker on Fri, 25 Aug 2000 16:01:31 +0200 (MET DST)) Subject: Re: Update __solve_dir_symlinks() patch References: 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 Precedence: bulk > Date: Fri, 25 Aug 2000 16:01:31 +0200 (MET DST) > From: Hans-Bernhard Broeker > > On Fri, 25 Aug 2000, Michel de Ruiter wrote: > > > > If at all, we could make 'unlink("/dev/env/FOO");' a synonym > > > for removing environment variable FOO, with an error returned > > > if it doesn't exist. > > > > Shouldn't this remove the filename *contained* in the variable > > FOO? > > No. Why should $FOO be a file name? If it isn't, that `unlink' will fail. Here's one example when $FOO *is* a file name: unlink("/dev/env/DJGPP"); (Kids, don't do try that at home! ;-)