delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/13/10:12:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Server-Uuid: BFC84477-645C-465D-9AD8-33CC8F7E78C3
Sensitivity:
Subject: Re: localtime_r not returning local time
To: cygwin AT cygwin DOT com
Message-ID: <OF9F692AE1.010007B5-ON85256E39.00528D6F-85256E39.00537602@empirehealthcare.com>
From: Brian DOT Kelly AT Empireblue DOT com
Date: Fri, 13 Feb 2004 10:11:33 -0500
MIME-Version: 1.0
X-WSS-ID: 6C3236691TG3936412-01-03
X-IsSubscribed: yes

YEA! - I need this fix since I use the localtime feature of perl and have
been stuck with 5.8.0 (and rolling back
to 5.6 required complete re-installation of all other CPAN modules) - which
had been removed from setup.

Anyhow THANK YOU!!!

( I know I should be a nice guy and test the snapshot - but unfortunately I
don't a suitible test environment available at the moment. )

( BURNING QUESTION  -  Are  *THANK YOU's*  from non-contributors  .......
off - topic??? )

Brian Kelly




Sent by:    cygwin-owner AT cygwin DOT com


To:    cygwin AT cygwin DOT com
cc:     (bcc: Brian Kelly/WTC1/Empire)

Subject:    Re: localtime_r not returning local time


On Fri, Feb 13, 2004 at 12:40:12PM +0100, Gerrit P. Haase wrote:
>Yitzchak wrote:
>>On Thu, Feb 12, 2004 at 01:10:03PM -0800, Rafael Kitover wrote:
>>>Would it be a lot of overhead to have something like tzset be called in
>>>the bootstrap code for launching Cygwin programs?  Or maybe just have a
>>>DLL global default, based on windows time zone, and just allow
>>>processes to reset it for themselves (and any children.)
>
>>Either would be better than nothing.  I'm very curious to know what
>>various flavors of unix do.  As I said, my reading of susv3 is that TZ
>>should be checked with every call to localtime_r().
>
>If tzset() should be called in localtime_r() it is a bug in newlib and
>should be included there.

localtime_r doesn't come from newlib.  It's a cygwin routine.

I checked in a fix a few days ago.

http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/localtime.cc.diff?cvsroot=src&r1=1.10&r2=1.11


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







"WellChoice, Inc." made the following
 annotations on 02/13/2004 10:14:45 AM
------------------------------------------------------------------------------
Attention!  This electronic message contains information that may be legally confidential and/or privileged.  The information is intended solely for the individual or entity named above and access by anyone else is unauthorized.  If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful.  If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Release/Disclosure Statement


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

- Raw text -


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