X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Sat, 30 Oct 2010 15:24:28 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: localtime and TZ
Message-ID: <20101030192427.GA6978@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4CCB4025.6070405@cornell.edu> <4CCB42AF.2090907@redhat.com> <4CCB439B.7060602@redhat.com> <4CCB4676.8080609@cornell.edu> <4CCB47A6.9010600@redhat.com> <4CCB561D.5070304@cornell.edu> <4CCC12E7.5060807@cornell.edu> <4CCC1690.2030000@cornell.edu> <4CCC5B87.5070802@cornell.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4CCC5B87.5070802@cornell.edu>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Sat, Oct 30, 2010 at 01:53:11PM -0400, Ken Brown wrote:
>How's the attached patch?  I'm not set up to build cygwin1.dll, so I 
>can't test it right now.  I hope the intent is clear in case I got 
>something wrong.

That would do it, yes.  I chose to just track the initialization state
in lcl_is_set and make some other minor cleanup changes to localtime.cc.

This should be fixed in the next snapshot.  Thanks for the patch and the
STC.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

