www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/10/16/02:49:02

Date: Wed, 16 Oct 2002 08:37:32 +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: <10210160600.AA21764@clio.rice.edu>
Message-ID: <Pine.SUN.3.91.1021016083157.20518H@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 can't find any decent documentation on how it should behave (it's not
> even available on some unix boxes, and the Solaris documentation is 
> pretty sparse/useless on it).

The source we use came from BSD, then we hacked it to be better suited to 
DJGPP (e.g., case-insensitive treatment of timezone filenames) and to fix 
some bugs (like an infloop in resolving some patological cases, which was 
revealed by a test program run by some configure scripts).  I don't know 
whether BSD has any docs on it, but I thought I'd at least tell where it 
comes from.

It might be educational to compare what we use with the version in 
djtzs203.zip, it just could be that some of the problems are already 
solved there.  In any case, IIRC, the performance of that version in my 
testing was only slightly better for what I tried (which could have been 
different from the case we are discussing in this thread).

If someone does look into the djtzs implementation, I'd suggest to fetch 
the latest version of that code; the URL is in section 22.20 of the FAQ.

- Raw text -


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