summaryrefslogtreecommitdiff
path: root/lib/mktime.c
AgeCommit message (Collapse)Author
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