* include/time.h: Declare __tzset_parse_tz and __tzset_compute.
commitfa76dde2cf59865481793b9f233df74aa5c7d4c1
authorUlrich Drepper <drepper@redhat.com>
Sun, 14 Oct 2007 09:15:45 +0000 (14 09:15 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 14 Oct 2007 09:15:45 +0000 (14 09:15 +0000)
tree909e9a417ad03e800b5be3a11a2a59e571b5722d
parent89dc9d4c5b50c4e6397d0d74d0570e88f09fca99
* include/time.h: Declare __tzset_parse_tz and __tzset_compute.

* time/tzset.c (tzset_internal): Break TZ string parsing out into
__tzset_parse_tz and updating of daylight, timezone, tzname into
update_vars.
(__tz_compute): Renamed from tz_compute.  Take additional parameters.
(__tz_convert): Updating of tm_isdst, tm_zone, and tm_gmtoff now
happens in __tz_compute.
* time/tzfile.c (__tzfile_read): Also read TZ string.
(find_transition): Fold into __tzfile_compute.
(__tzfile_compute): For times beyond the last transition try to
use the TZ string.
* timezone/tst-timezone.c: Information in daylight and tzname does
change for Asia/Tokyo timezone with more concrete information.
Remove the test.

* include/stdio.h: Add libc_hidden_proto for ftello.
* libio/ftello.c: Add libc_hidden_def.
ChangeLog
include/stdio.h
include/time.h
libio/ftello.c
nscd/nscd_getgr_r.c
time/tzfile.c
time/tzset.c
timezone/tst-timezone.c