www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/04/17/04:44:59

From: Martin Stromberg <Martin DOT Stromberg AT lu DOT erisoft DOT se>
Message-Id: <200004170929.LAA26808@lws256.lu.erisoft.se>
Subject: Re: timezone files: the solution
To: djgpp-workers AT delorie DOT com
Date: Mon, 17 Apr 2000 11:29:37 +0200 (MET DST)
In-Reply-To: <Pine.SUN.3.91.1000417114916.14867Z-100000@is> from "Eli Zaretskii" at Apr 17, 2000 11:53:45 AM
X-Mailer: ELM [version 2.5 PL3]
MIME-Version: 1.0
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

Eli said:
> On Mon, 17 Apr 2000, Andris Pavenis wrote:
> > > > C:\DJGPP\TEST\tz>tztest
> > > > Fri, 14 Apr 2000 17:58:05 +7200
> > > > Fri, 14 Apr 2000 17:58:05 EET
> > > > 
> > > > Which seems to be Ok.
> > > 
> > > Thanks for testing.
> > > 
> > 
> > One more comment:
> > 
> > In Linux (glibc-2.1.3) I got following output from the same test program:
> > 
> > Mon, 17 Apr 2000 10:32:14 +0200
> > Mon, 17 Apr 2000 10:32:14 EET
> > 
> > which is rather different from ones I'm getting with DJGPP. Which one 
> > is correct?
> 
> The first result is correct, since the timezone files were produced with 
> DJGPP-compiled zic.
> 
> Using timezone files produced by DJGPP with zoc compiled with glibc 
> will produce incorrect results, for the same reasons that using timezone 
> files produced by glibc-linked zic with DJGPP will work incorrectly.
> 
> The time_t type is incompatible in these two libraries.
> 
> If you want compatible timezone files, add -s to the invocation of 
> host-zic in zoneinfo/src/makefile and rebuild djdev.

I think Andirs is refering to "+7200" versus "+0200". Should the
difference be printed in seconds or in HHMM format?


Right,

							MartinS

- Raw text -


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