[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] MiNTLib bug in tzset()



To whom it may concern:

The MiNTLib 0.50.1 (and probably PL49, PL48, ...) has a bug in
tzset() when parsing POSIX style TZ environment variables:  If you specify
an alternative time zone without rules (e. g. "TZ=CET-1CEST-2") and don't
have the file "/usr/share/posixrules" it will fall back to the timezone
"GMT" instead of applying the rules according to Unites States Federal
Law (equivalent to the rule "M4.1.0,M10.5.0").

Fix: Specify an explicit rule for start and end of summertime (in the
above example this would be something like "CET-1CEST-2,M4.1.0,M10.5.0").

This bug will be fixed in the next MiNTLib distribution (to be released
next week).  The next release will also come along with a complete
installation of the time zone database, so that in the near future nobody
has to complain any more about the complex syntax of the TZ envariable
(because it is best then not to set $TZ at all).

Frank: Could you please remove the tzinit program from the kernel
distribution? I will provide that with the MiNTLib instead.

Ciao

Guido
-- 
http://stud.uni-sb.de/~gufl0000
mailto:gufl0000@stud.uni-sb.de