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

Bug#375978: timezone variable not set correctly, bug blocking LSB Conformance

Denis Barbier wrote:
On Thu, Jun 29, 2006 at 01:51:50PM +0200, Martin Dittmar wrote:
Package: libc6
Version: 2.3.2.ds1-22sarge3

Problem: 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.c

This is a libc bug (already in libc Bugzilla (see http://sourceware.org/bugzilla/show_bug.cgi?id=2865 )), but can be fixed in Debian.

Your test program runs fine with 2.3.6 (sid) and 2.4 (experimental)
here, can you please check?

Yes, but it fails on sarge, the version against which the bug has been reported.

  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

Reply to: