delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2013/07/26/15:28:05

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Date: Fri, 26 Jul 2013 22:27:58 +0300
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: zoneinfo not able to recognize if daylight saving time is in effect.
In-reply-to: <51F2C9B5.3090202@gmx.de>
X-012-Sender: halo1 AT inter DOT net DOT il
To: djgpp-workers AT delorie DOT com
Message-id: <83li4tyvcx.fsf@gnu.org>
References: <51F2C9B5 DOT 3090202 AT gmx DOT de>
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

> Date: Fri, 26 Jul 2013 21:10:45 +0200
> From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
> 
> int main (int argc, char **argv) {
>    int fail = 0;
>    static char env_string[] = "TZ=:America/New_York";
                                    ^
What is that colon doing there?  AFAIR, the value of TZ should point
to the file name with the timezone information, and that's it.  No
colons, no nothing.

Anyway, the test program works for me, with the original djdev203
timezone files.

- Raw text -


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