www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/10/17/01:33:11

Date: Thu, 17 Oct 2002 07:29:17 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
cc: Leonid Pauzner <uue AT pauzner DOT dnttm DOT ru>, djgpp-workers AT delorie DOT com
Subject: Re: libc' getenv optimization (patch)
In-Reply-To: <10210160742.AA18845@clio.rice.edu>
Message-ID: <Pine.SUN.3.91.1021017072757.3848A-100000@is>
MIME-Version: 1.0
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

On Wed, 16 Oct 2002, Charles Sandmann wrote:

> I think I see a fix; if we set lcl_is_set
> to the value "1" after the return from tzsetwall() in tzset() then our 
> caching will prevent future calls to getenv() unless someone changes 
> the environment (or calls tzsetwall()) - same behavior.

This change sounds okay to me.

- Raw text -


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