gtimezone: consider a leading : in TZ environment variable
authorGiovanni Campagna <gcampagna@src.gnome.org>
Wed, 16 Nov 2011 23:52:59 +0000 (00:52 +0100)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Mon, 6 Feb 2012 16:26:30 +0000 (17:26 +0100)
commit1faed130dc227f983f42f23df2a242bd004c4ac8
tree2be1b559953bfdb5a98baffebbab2c57a9e00c95
parentb98b63187a24451411c88962bd82553652b198e0
gtimezone: consider a leading : in TZ environment variable

When set to represent a zoneinfo file, TZ may start with :, therefore
glib needs to check it and ignore the first char when building the
resulting filename, or it won't be found.
Also, the path could be absolute, in which case it is wrong to
append /usr/share/timezone

https://bugzilla.gnome.org/show_bug.cgi?id=664237
glib/gtimezone.c