aboutsummaryrefslogtreecommitdiff
path: root/time
AgeCommit message (Collapse)AuthorFilesLines
2012-05-23mktime: merge wrapv change from gnulibPaul Eggert1-25/+90
* time/mktime.c (WRAPV): New macro. (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions. (guess_time_tm, __mktime_internal): Do not assume that signed integer overflow wraps around; modern compilers generate code where this assumption is no longer valid.
2012-05-22Update copyright years for time/mktime.cH.J. Lu1-1/+1
2012-05-22mktime: merge comment-quoting-style change from gnulibPaul Eggert1-3/+3
2012-05-22time/mktime.c (compile-command): Add "-I."Paul Eggert1-1/+1
2012-05-22mktime: merge mktime-internal.h change from gnulibPaul Eggert1-0/+1
2012-05-22mktime: merge time_r change from gnulibPaul Eggert1-2/+1
2012-05-22mktime: merge DEBUG change from gnulibPaul Eggert1-0/+1
2012-05-22mktime: merge <sys/types.h> change from gnulibPaul Eggert1-1/+0
2012-05-22mktime: merge HAVE_CONFIG_H change from gnulibPaul Eggert1-1/+1
2012-05-16Fold copyright yearsH.J. Lu1-1/+1
2012-05-16BZ#10375: Configure magic to use -U_FORTIFY_SOURCE if needed.Roland McGrath1-5/+1
2012-05-15Remove __snseconds_tH.J. Lu1-1/+1
2012-05-09Fix daylight time change for the USIan Wienand1-6/+12
[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. Lu1-1/+1
2012-04-02Testsuite #include fixes.Thomas Schwinge1-0/+2
2012-03-16Use time_t on ays, rem, y and yg in __offtimeH.J. Lu1-2/+2
2012-03-07Remove distribute variable from MakefilesUlrich Drepper1-2/+1
2012-02-25Fix ISO C11 definitions in time.hUlrich Drepper1-11/+8
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert39-117/+78
2012-01-30Remove miscellaneous __STDC__ conditionals.Joseph Myers1-6/+2
2012-01-07Remove pre-ISO C supportUlrich Drepper2-40/+40
No more __const.
2012-01-01Implement timespec_getUlrich Drepper4-15/+76
2011-12-21Fix one typoUlrich Drepper1-1/+1
2011-12-17Check values from TZ file headerUlrich Drepper1-9/+44
2011-11-15Clean up internal fopen usesUlrich Drepper1-3/+3
No need to ever not use c and e.
2011-11-14Use O_CLOEXEC in tzfile handlingUlrich Drepper1-3/+3
2011-04-22Remove doubled words.Jim Meyering1-2/+2
2011-04-01Fix typos in comments.Ulrich Drepper1-3/+3
2010-01-09Add support for XPG7 testing.Ulrich Drepper6-20/+20
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 Stribley1-3/+1
2009-06-23Handle empty TZ strings at the end of new-style timzeone files correctly.Andreas Schwab1-0/+4
2009-06-15Fix computation of tzspec_len.Ulrich Drepper1-1/+1
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 Hattori1-4/+3
This fixes BZ #10211.
2009-05-16Remove redundant .gitignore files.Andreas Schwab1-6/+0
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering1-0/+0
2009-03-10* time/tzset.c: Optimize a bit for size.cvs/fedora-glibc-20090310T1925Ulrich Drepper1-53/+41
2009-03-10* time/tzset.c (__tzset_parse_tz): Use correct string when parsingUlrich Drepper2-12/+39
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 Drepper1-3/+4
* 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 Drepper1-2/+2
* 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 Drepper1-9/+39
2009-02-05* time/tzset.c (__tzset_parse_tz): DST offset must also allow hourUlrich Drepper1-2/+2
value of 24.
2008-07-06(__mktime_internal): Normalize tp->tm_isdst value.Ulrich Drepper1-2/+4
2008-06-27Remove use of __P.Ulrich Drepper1-10/+1
2008-06-27[BZ #6657]Ulrich Drepper1-2/+1
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 Drepper1-15/+28
* 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 Drepper2-12/+12
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 Drepper2-8/+4
2007-12-12* time/bug-getdate1.c (do_test): Don't use century values whichUlrich Drepper2-5/+5
aren't valid on 32-bit systems.
2007-12-10[BZ #5424, BZ #5428, BZ #5451]Ulrich Drepper3-10/+161
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 Drepper1-1/+1
Patch by Szymon Siwek <sls@poczta.wp.pl>.