summaryrefslogtreecommitdiff
path: root/lib/mktime.c
AgeCommit message (Collapse)Author
2004-01-21tweak comment: from Paul EggertJim Meyering
2004-01-21(__mktime_internal) [!_LIBC]: Define to mktime_internalJim Meyering
so as not to conflict with a different-sized __mktime_internal function in GNU libc.
2003-09-13(my_mktime_localtime_r): Remove; all uses changed to __localtime_r.Jim Meyering
(__localtime_r) [!defined _LIBC]: New macro. Include <time_r.h>. (__mktime_internal) [!defined _LIBC]: Now extern, not static.
2003-09-10(STDC_HEADERS): Remove.Jim Meyering
Include <stdlib.h>, <string.h> unconditionally.
2003-07-09Update from gnulib.Jim Meyering
2003-06-05Assume freestanding C89 or better.Jim Meyering
(HAVE_LIMITS_H): Remove. Assume it's 1. (__P): Remove; not used. (CHAR_BIT, INT_MIN, INT_MAX): Remove; <limits.h> defines them. (mktime, not_equal_tm, print_tm, check_result, main): Use prototypes. Use const * where appropriate. (main): Fix typo in testing code that uncovered by above changes. (Local Variables): Remove -DHAVE_LIMITS_H from compile-command.
2003-05-30update from gnulib againJim Meyering
2003-05-30Update from gnulib.Jim Meyering
2002-11-28Merge from gnulib/libc, for a slightly uglier solution.Jim Meyering
2002-11-28(STATIC): Remvoe definitions.Jim Meyering
2002-11-19Avoid a link-time failure on some Linux systems.Jim Meyering
(STATIC): Define to be empty (_LIBC) or `static' (otherwise). (__mon_yday): Declare with the STATIC attribute. (__mktime_internal): Likewise. Based on a report from Greg Schafer.
2002-08-31Update from GNU libc.Jim Meyering
2000-08-07back out Copyright date changes for files with no changes yearJim Meyering
2000-07-09update copyright dateJim Meyering
1999-02-17tweak commentJim Meyering
1999-02-16new version from UliJim Meyering
1999-01-19(__mktime_internal): Adopt the traditional (andJim Meyering
problematic) notion of what to do when tm_isdst doesn't match. From Paul Eggert.
1998-12-07ansideclifyJim Meyering
1998-10-18 Don't invoke localtime_r or gmtime_r unless it's the GNU CJim Meyering
library's localtime_r and gmtime_r; there are too many buggy implementations of localtime_r and gmtime_r out there, and it's not worth keeping track of all the different bugs. * mktime.c (__EXTENSIONS__, HAVE_LOCALTIME_R): Remove. (my_mktime_localtime_r): Renamed from localtime_r; all uses changed. Base it on localtime unless _LIBC.
1998-10-18Declare localtime_r if necessary.Jim Meyering
1998-10-17Some systems require <unistd.h> to be included before <time.h> forJim Meyering
localtime_r to be declared properly.
1998-10-12(_REENTRANT): Define again -- linux-2.0.33 needs it.Jim Meyering
1998-10-11(__mktime_internal): When the requested time fallsJim Meyering
in a spring-forward gap of size DT, return a time that is DT away from the requested time, preferring a time whose tm_isdst differs from the requested value. Bump the max number of probes from 4 to 6 to account for the extra probes needed to discover a spring-forward gap in the worst case.
1998-10-08(my_mktime_localtime_r): Renamed from localtime_r.Jim Meyering
Define also if HAVE_LOCALTIME_R && defined (localtime_r), with a body that merely expands localtime_r; this works around a bug in Digital Unix 4.0A and 4.0D.
1998-04-12.Jim Meyering
1998-04-12(TYPE_MAXIMUM): Update from system.h.Jim Meyering
1998-02-24add commentJim Meyering
1998-01-23(__mktime_internal): Work around bug in Irix4.0.5'sJim Meyering
C compiler. From Kaveh Ghazi. (TYPE_MINIMUM): Define. (TYPE_MAXIMUM): Define. (TIME_T_MIN): Use TYPE_MINIMUM. (TIME_T_MAX): Use TYPE_MAXIMUM.
1997-11-18(_REENTRANT): #define, as some hosts need this to declare localtime_r properly.Jim Meyering
From Paul Eggert.
1997-11-13Update from FSF.Jim Meyering
1997-09-17update from FSF .../copiesJim Meyering
1997-03-14(TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.Jim Meyering
1997-02-21update from FSFJim Meyering
1996-11-05Fix copyright.Jim Meyering
1996-07-15update FSF address in copyrightJim Meyering
1995-11-03New version from glibc.Jim Meyering
1994-09-27merge with 1.10n2Jim Meyering
1994-08-19merge with 1.10gJim Meyering
1994-07-26merge with 1.10fJim Meyering
1994-02-12merge with 1.9.2iJim Meyering
1992-11-01Initial revisionJim Meyering