aboutsummaryrefslogtreecommitdiff
path: root/time
AgeCommit message (Collapse)Author
2012-05-09Fix daylight time change for the USIan Wienand
[BZ #14080] * time/tzset.c (__tzset_parse_tz): Update default rules for daylight time changes in the Energy Policy Act of 2005.
2012-04-11Add __snseconds_t and __SNSECONDS_T_TYPEH.J. Lu
2012-04-02Testsuite #include fixes.Thomas Schwinge
2012-03-16Use time_t on ays, rem, y and yg in __offtimeH.J. Lu
2012-03-07Remove distribute variable from MakefilesUlrich Drepper
2012-02-25Fix ISO C11 definitions in time.hUlrich Drepper
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert
2012-01-30Remove miscellaneous __STDC__ conditionals.Joseph Myers
2012-01-07Remove pre-ISO C supportUlrich Drepper
No more __const.
2012-01-01Implement timespec_getUlrich Drepper
2011-12-21Fix one typoUlrich Drepper
2011-12-17Check values from TZ file headerUlrich Drepper
2011-11-15Clean up internal fopen usesUlrich Drepper
No need to ever not use c and e.
2011-11-14Use O_CLOEXEC in tzfile handlingUlrich Drepper
2011-04-22Remove doubled words.Jim Meyering
2011-04-01Fix typos in comments.Ulrich Drepper
2010-01-09Add support for XPG7 testing.Ulrich Drepper
The header conformance testing code needed extending for XPG7. This exposed a few bugs in the headers. There are more changes to come.
2009-10-30Implement Burmese language locale for Myanmar.Keith Stribley
2009-06-23Handle empty TZ strings at the end of new-style timzeone files correctly.Andreas Schwab
2009-06-15Fix computation of tzspec_len.Ulrich Drepper
Without this it should never have worked that we can use the embedded envvar in the timezone data files for dates after the last matching rule.
2009-06-15Handle leap seconds even if no DST rule exists.Akinori Hattori
This fixes BZ #10211.
2009-05-16Remove redundant .gitignore files.Andreas Schwab
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering
2009-03-10* time/tzset.c: Optimize a bit for size.cvs/fedora-glibc-20090310T1925Ulrich Drepper
2009-03-10* time/tzset.c (__tzset_parse_tz): Use correct string when parsingUlrich Drepper
DST name. * time/tst-posixtz.c: Add tests for quoted timezone names.
2009-02-26* wctype/wctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper
* wcsmbs/wchar.h: mbsnrtowcs, open_wmemstream, wcpcpy, wcpncpy, wcscasecmp, wcsdup, wcsncasecmp, wcsnlen, wcsnrtombs, wcscasecmp_l, wcsncasecmp_l, wcscoll_l, and wcsxfrm_l. * sysdeps/mach/hurd/bits/posix_opt.h: Reset value of macros from 200112L to 200809L. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. * posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and _SC_THREAD_ROBUST_PRIO_PROTECT entries. * bits/confname.h: Add _SC_THREAD_ROBUST_PRIO_INHERIT and _SC_THREAD_ROBUST_PRIO_PROTECT. * posix/unistd.h: fexecve is in POSIX 2008. * time/time.h: strftime_l is in POSIX 2008. * io/sys/stat.h: futimens is in POSIX 2008. * string/strings.h: strcasecmp_l and strncasecmp_l are in POSIX 2008. * string/string.h: stpcpy, stpncpy, strndup, strnlen, strsignal, strcoll_l, strerror_l, and strxfrm_l are in POSIX 2008. * stdlib/stdlib.h: mkdtemp is in POSIX 2008.
2009-02-26* include/features.h: Define macros for XPG7/POSIX 2008.Ulrich Drepper
* sysdeps/unix/sysv/linux/bits/stat.h: Protect UTIME_NOW and UTIME_OMIT only with __USE_ATFILE. * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. * io/sys/stat.h: Move mknodat definition into same conditional as mknod. * time/sys/time.h: futimesat is not among the functions accepted into the POSIX standard.
2009-02-24* time/tzset.c (tzset_internal): Correct parsing of TZ envvar.Ulrich Drepper
2009-02-05* time/tzset.c (__tzset_parse_tz): DST offset must also allow hourUlrich Drepper
value of 24.
2008-07-06(__mktime_internal): Normalize tp->tm_isdst value.Ulrich Drepper
2008-06-27Remove use of __P.Ulrich Drepper
2008-06-27[BZ #6657]Ulrich Drepper
2008-06-27 Ulrich Drepper <drepper@redhat.com> [BZ #6657] * time/strptime_l.c: Don't clear s.era_cnt after successful match of %EY. Patch by Petr Baudis.
2008-06-13[BZ #6612]cvs/fedora-glibc-20080613T1601Ulrich Drepper
* time/strftime.c: Pass reference to tzset_called around to handle recursive calls. [BZ #6612] * time/strftime.c (__strftime_internal): Call tzset() only when printing timezone-dependent values. Based on a patch by Petr Baudis <pasky@suse.cz>.
2008-04-11[BZ #5443]Ulrich Drepper
2008-04-11 Jakub Jelinek <jakub@redhat.com> [BZ #5443] * time/era.c: Transform __libc_setlocale_lock into rwlock. * time/alt_digit.c: Likewise. * wcsmbs/wcsmbsload.c: Likewise.
2008-03-19Remove useless "if" before "free".Ulrich Drepper
2007-12-12* time/bug-getdate1.c (do_test): Don't use century values whichUlrich Drepper
aren't valid on 32-bit systems.
2007-12-10[BZ #5424, BZ #5428, BZ #5451]Ulrich Drepper
2007-12-08 Ulrich Drepper <drepper@redhat.com> [BZ #5424] * stdio-common/vfprintf.c: Do not overflow when adding to done. * stdio-common/Makefile (tests): Add bug22. * stdio-common/bug22.c: New file. [BZ #5451] * time/getdate.c: Fix filling in default values. * time/bug-getdate1.c: New file. * time/Makefile: Add rules to build and run bug-getdate1. * iconvdata/ebcdic-is-friss.c: Use 8bit-gap instead of 8bit-generic. * iconvdata/ebcdic-es.c: Likewise. * iconvdata/ebcdic-es-a.c: Likewise. * iconvdata/ebcdic-uk.c: Likewise. * iconvdata/iso8859-16.c: Likewise. * iconvdata/viscii.c: Likewise. * iconvdata/iso8859-9e.c: Likewise. * iconvdata/Makefile: Adjust appropriately. [BZ #5428] * wcsmbs/wchar.h: Unconditionally undefine __need_mbstate and __need_wint_t. * iconvdata/gconv-modules: Likewise.
2007-11-06* time/tzfile.c (__tzfile_read): Fix check for version 0 data files.Ulrich Drepper
Patch by Szymon Siwek <sls@poczta.wp.pl>.
2007-10-17[BZ #5186]Ulrich Drepper
* time/tzset.c (__tz_convert): Don't force testing for a change of TZ if not called from localtime. But then also see whether the file changed, in case __use_tzfile is set.
2007-10-17(__tzfile_read): Read POSIX TZ string if available even when time_t is ↵Ulrich Drepper
32-bit. (__tzfile_compute): Override POSIX TZ string STD/DST zone names if timezone data read by __tzfile_default. Ensure __tzname[0] is always set after the search.
2007-10-16Help the compiler recognize unreachable code on 32-bit machines.Ulrich Drepper
2007-10-16 Ulrich Drepper <drepper@redhat.com> * time/tzfile.c (__tzfile_read): Help the compiler recognize unreachable code on 32-bit machines.
2007-10-16[BZ #5184]Ulrich Drepper
Include stdbool.h. (my_strftime): New wrapper, old function renamed to... (__strftime_internal): ... new function. Add tzset_called argument, pass it down to recursive calls, don't call tzset () if already true, set to true after call to tzset (). 2007-10-16 Jakub Jelinek <jakub@redhat.com> [BZ #5184] * time/strftime_l.c: Include stdbool.h. (my_strftime): New wrapper, old function renamed to... (__strftime_internal): ... new function. Add tzset_called argument, pass it down to recursive calls, don't call tzset () if already true, set to true after call to tzset ().
2007-10-16(__tzfile_read): Take extra memory requested by caller into account when ↵Ulrich Drepper
copying TZ string. 2007-10-16 Ulrich Drepper <drepper@redhat.com> * time/tzfile.c (__tzfile_read): Take extra memory requested by caller into account when copying TZ string.
2007-10-16(__tzfile_compute): For use_last case set i to num_transition rather than ↵Ulrich Drepper
num_transitions - 1.
2007-10-14* include/time.h: Declare __tzset_parse_tz and __tzset_compute.Ulrich Drepper
* 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.
2007-10-14[BZ #1140]Ulrich Drepper
2007-10-14 Ulrich Drepper <drepper@redhat.com> [BZ #1140] * time/tzfile.c (__tzfile_compute): Compute tzname[] values based on the specified time and not the last entries in the file. Move code to determine tzname[] to... (find_transition): ...here. Add ugly guess for times before the first transition.
2007-07-28[BZ #4772]Ulrich Drepper
* time/strptime_l.c (__strptime_internal): Silently ignore strftime modifiers and field width in recursive calls.
2007-07-28* include/time.h (enum ptime_locale_status): Remove.Ulrich Drepper
(__strptime_internal): Remove decided and era_cnt arguments, add statep argument. * time/strptime_l.c (__strptime_internal): Remove decided and era_cnt arguments, add statep argument. Don't recompute any fields in recursive calls, only update caller's tm and state, if recursive call fails, don't change tm nor any state. (get_alt_number): Adjust. (recursive): Adjust caller. (strptime): Likewise. * time/strptime.c (strptime): Likewise.
2007-07-10[BZ #4773]Ulrich Drepper
2007-07-10 Ulrich Drepper <drepper@redhat.com> [BZ #4773] * time/strptime_l.c (__strptime_internal): Implement greedy matching of weekday and month names.
2007-03-17* elf/dl-open.c (dl_open_worker): Declare l in 2 differentcvs/fedora-glibc-20070317T2130Ulrich Drepper
smaller scopes. * elf/dl-dst.h (DL_DST_REQ_STATIC): Add l as macro argument. (DL_DST_REQUIRED): Adjust user. * include/dlfcn.h (struct link_map): New forward decl. * inet/getnameinfo.c: Include stddef.h. (getnameinfo): Use offsetof. * time/tst-mktime2.c (do_test): Don't rely on signed wrap. * stdio-common/vfprintf.c (_itoa): Undef before redefining. * string/strerror_l.c: Include stdlib.h.