Aurelien Jarno wrote: > Which version of the LSB ?This is tested with LSB runtime test version 3.1.0, but also with many earlier versions (see http://www.freestandards.org/download/),
The semantics of the timezone variable are declared in Single Unix Specification Version 2 and 3:
"The external variable timezone shall be set to the difference, in seconds, between Coordinated Universal Time (UTC) and local standard time." (Version 3)
(http://www.opengroup.org/onlinepubs/009695399/functions/timezone.html) ctime() calls tzset(), where timezone is not set correctly. Yours, Martin Dittmar
Martin Dittmar wrote:Package: libc6 Version: 2.3.2.ds1-22sarge3Problem: after calling the C method "ctime" the global variable "timezone" is not set correctly with certain TZ environment variables. With TZ=JKL3:10PNM4:40 set, the value of "timezone" is expected to be 11400, but has a nonsense value of 18000.For a demonstration please see the attched file test.cThis is a libc bug (already in libc Bugzilla (see http://sourceware.org/bugzilla/show_bug.cgi?id=2865 )), but can be fixed in Debian.This would be important for LSB compliance (LSB Runtime tests LSB runtime tests T.ctime_X 1, T.localtim_X 1, T.mktime_X 1).LSB test failure message: with TZ=JKL3:10PNM4:40 ctime() did not set timezone correctly value of timezone was 18000, expected 11400Which version of the LSB ?
-- Martin Dittmar Linux Information Systems AG Fon +49 (0)30 72 62 38-15 Ehrenbergstr 19 mdittmar@linux-ag.com D-10245 Berlin The Migration Company. _______________________________ www.linux-ag.com