delorie.com/archives/browse.cgi | search |
Date: | Fri, 25 Aug 2000 19:42:15 +0200 |
From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
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: | <Pine.LNX.4.10.10008251601170.4936-100000@acp3bf> (message from |
Hans-Bernhard Broeker on Fri, 25 Aug 2000 16:01:31 +0200 (MET DST)) | |
Subject: | Re: Update __solve_dir_symlinks() patch |
References: | <Pine DOT LNX DOT 4 DOT 10 DOT 10008251601170 DOT 4936-100000 AT acp3bf> |
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 |
> Date: Fri, 25 Aug 2000 16:01:31 +0200 (MET DST) > From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> > > 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! ;-)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |