delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/12/17:45:03

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
Date: Thu, 12 Feb 2004 14:44:46 -0800
From: Yitzchak Scott-Thoennes <sthoenna AT efn DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: localtime_r not returning local time
Message-ID: <20040212224445.GA3844@efn.org>
References: <BAY12-DAV65cuwGVLlR00032b73 AT hotmail DOT com>
Mime-Version: 1.0
In-Reply-To: <BAY12-DAV65cuwGVLlR00032b73@hotmail.com>
User-Agent: Mutt/1.4i
Organization: bs"d
X-IsSubscribed: yes

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().

--
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