www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/10/27/12:00:15

Date: Sun, 27 Oct 2002 18:57:15 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: uue AT pauzner DOT dnttm DOT ru
Message-Id: <8011-Sun27Oct2002185715+0200-eliz@is.elta.co.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <2.7.9.1OZJT.H4MCDK@pauzner.dnttm.ru> (uue@pauzner.dnttm.ru)
Subject: Re: libc' getenv optimization (patch3)
References: <10210150631 DOT AA20605 AT clio DOT rice DOT edu>
<2 DOT 7 DOT 9 DOT 1C51G DOT H41539 AT pauzner DOT dnttm DOT ru>
<2 DOT 7 DOT 9 DOT 15OOH DOT H4M4AK AT pauzner DOT dnttm DOT ru>
<2593-Sun27Oct2002011523+0200-eliz AT is DOT elta DOT co DOT il>
<2 DOT 7 DOT 9 DOT 1OZJT DOT H4MCDK AT pauzner DOT dnttm DOT ru>
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: "Leonid Pauzner" <uue AT pauzner DOT dnttm DOT ru>
> Date: Sun, 27 Oct 2002 05:32:08 +0300 (MSK)
> 
> > What will this do to programs that access environ[] directly?  Since
> 
> If you mean such programs *change* environ[] and then call getenv() -

No, I meant programs which read environ[] without calling `getenv'
even once.

Also, IIRC, functions from dosexec.c bypass `getenv' and `putenv',
and poke environ[] directly.

> My hash table is only used in `getenv', and is resynced inside getenv.

What about `putenv' and `setenv'?

- Raw text -


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