www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/08/31/05:06:01

Subject: Re: New time routines
To: eliz AT is DOT elta DOT co DOT il
Date: Wed, 31 Aug 1994 10:13:22 +0200 (MET DST)
From: Henrik Storner <storner AT olicom DOT dk>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

> The problem with your routine is that it arbitrarily adds DST rules
> to the TZ setting.

Only if the normal tzset() fails.

> These might be *mostly* right, but they cannot be
> *always* right, because there are all kinds of strange countries out
> there (like my little corner, for example) with most weird DST
> legislature which can easily defy any ``simpe'' solution
[...]
> A single file is, I think, not too much of a burden to install.

OK, point taken. Let's just leave it at this:

1) With the last flurry of changes, the time-routines in DJGPP work the
   way they should.
2) Users should either set a full TZ specification, or use the zoneinfo
   files.
3) Programmers distributing DJGPP compiled programs should be aware of
   these problems, and make sure the users are too.
-- 
Henrik Storner        | "Man is the best computer we can put aboard a space-
(storner AT olicom DOT dk)   |  craft ... and the only one that can be mass produced 
System Engineering    |  with unskilled labor."
Olicom Denmark        |                                   Wernher von Braun

- Raw text -


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