- Package:
- libglib2.0-0
- Source:
- glib2.0
- Description:
- GLib library of C routines
- Submitter:
- Marcus Comstedt
- Date:
- 2011-12-21 13:54:09 UTC
- Severity:
- normal
Dear Maintainer, glib is unable to detect the correct timezone on my Debian system, which is configured to CET using /etc/localtime ($TZ is not set). Running the following test program:
tag 652808 unreproducible thanks Le mardi 20 décembre 2011 à 16:27 +0100, Marcus Comstedt a écrit : This program works perfectly fine for me.
Hi Josselin, Thanks for replying. Josselin Mouette <joss@debian.org> writes: Do you have $TZ set? What is your /etc/localtime set to? How can I help you further in reproducing the problem? // Marcus
Hi again. Looking a bit at the source code, it looks like the problem is that the code expects /etc/localtime to start with "TZif2". In my case, it starts with "TZif", without the "2". The file has not been changed since the system was installed in 2007. So I guess the summary of the issue could be changed to "g_time_zone_new() does not support all versions of /etc/localtime used by Debian". // Marcus