Date: Sun, 16 Apr 2000 10:25:57 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp-workers AT delorie DOT com Subject: Re: timezone files: the solution In-Reply-To: <38F75CBC.26889.B18BE4@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk On Fri, 14 Apr 2000 pavenis AT lanet DOT lv wrote: > I'm getting broken djtzn203.zip also when building it under Linux (on > ix86 of course) x86 is not the issue here (the timezone files are endian-independent). The question is: how does Linux define time_t? If it's a signed type, you will see the same problems as on Irix, because the timezone files are generated by zic compiled for the host, so it uses host's time_t. (AFAIK, most libraries have a signed time_t; our implementation is an exception rather than the rule.) > With new djtzn203.zip downloaded from ftp.cdrom.com: > > C:\DJGPP\TEST\tz>tztest > Fri, 14 Apr 2000 17:57:58 +10800 > Fri, 14 Apr 2000 17:57:58 EEST > > C:\DJGPP\TEST\tz>set TZ=c:/djgpp/zoneinfo/Europe/Riga > > 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.