Date: Wed, 16 Oct 2002 08:37:32 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Charles Sandmann cc: Leonid Pauzner , djgpp-workers AT delorie DOT com Subject: Re: libc' getenv optimization (patch) In-Reply-To: <10210160600.AA21764@clio.rice.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.