delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/08/25/14:10:50

Date: Fri, 25 Aug 2000 19:31:45 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Martin DOT Stromberg AT lu DOT erisoft DOT se
Message-Id: <1190-Fri25Aug2000193145+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: <200008251325.PAA29429@lws256.lu.erisoft.se> (message from Martin
Stromberg on Fri, 25 Aug 2000 15:25:07 +0200 (MET DST))
Subject: Re: Update __solve_dir_symlinks() patch
References: <200008251325 DOT PAA29429 AT lws256 DOT lu DOT erisoft DOT se>
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: Martin Stromberg <Martin DOT Stromberg AT lu DOT erisoft DOT se>
> Date: Fri, 25 Aug 2000 15:25:07 +0200 (MET DST)
> 
> Idea: Shouln't (couldn't) /dev/env be a directory containing the
> environment variables as files or something?

That would be incompatible with the current use of /dev/env/FOO: it is
converted into the *value* of the environment variable FOO.  If that
value specifies an existing file, you will see that file, not the
variable name.

In other words, the change you are talking about will need lots of
extra code, since the current implementation of /dev/env is in
`_put_path', which has no idea what function called it.  So it cannot
possibly do different things for the same argument for, say,
`findfirst' on the one hand and for `_chmod' and `_open' on the other.

- Raw text -


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