Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: <mailto:cygwin-developers-unsubscribe-archive-cygwin-developers=delorie DOT com AT sourceware DOT cygnus DOT com> List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/> List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com> List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Date: Thu, 19 Aug 1999 22:36:09 -0400 Message-Id: <199908200236.WAA08141@envy.delorie.com> From: DJ Delorie <dj AT delorie DOT com> To: corinna AT vinschen DOT de CC: cygwin-developers AT sourceware DOT cygnus DOT com In-reply-to: <37BC8D4A.7D8C6F55@vinschen.de> (message from Corinna Vinschen on Fri, 20 Aug 1999 01:03:38 +0200) Subject: Re: strftime and timezone patch patched References: <199908190308 DOT XAA11621 AT envy DOT delorie DOT com> <37BC8D4A DOT 7D8C6F55 AT vinschen DOT de> But I *don't* want cygwin_tzset to have a chance to define TZ. I want the new code in tzsetwall() to do it. If cygwin_tzset() needs to be called again *after* TZ is defined, fine, but the code in cygwin_tzset() that sets TZ from the NT information is woefully inadequate. I added code from a different contributor that makes tzsetwall() do a more complete job of setting TZ from the NT information - that should be used instead, and thus cygwin_tzset needs to be called further down in the code (after the call to tzsetwall() at least). > * localtime.c: calls cygwin_tzset again. > > -#if 0 /* we set it more accurately in tzsetwall() */ > +#if 1 /* we set it more accurately in tzsetwall() */