glibc/time
Roland McGrath 29311370cd [BZ #535]
2004-11-09  Paul Eggert  <eggert@cs.ucla.edu.
	[BZ #535]
	* time/difftime.c: Fix a double-rounding bug on hosts with
	64-bit time_t and long double being IEEE double.  Also, port
	to more valid C99 hosts, even those that have padding bits.
	Don't include <values.h> since it is marked as an obsolescent
	interface.  Include <limits.h>, <float.h>, and <stdint.h> instead.
	(TYPE_BITS, TYPE_FLOATING, TYPE_SIGNED): New macros.
	(subtract): New static function, that works correctly without
	double-rounding, even on hosts with 64-bit time_t.  Also cater
	to hosts with padding bits.
	(__difftime): Use it.  Use DBL_MANT_DIG and LDBL_MANT_DIG to
	determine whether floating types are wide enough: the old
	test (which used sizeof) could in theory report the wrong results
	on hosts with padding bits in floating-point values.
2004-11-11 22:31:17 +00:00
..
sys Update. 2003-07-12 09:03:03 +00:00
.cvsignore Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-14 20:30:25 +00:00
alt_digit.c * locale/lc-time.c (_nl_init_era_entries, _nl_get_era_entry, 2002-08-28 23:11:21 +00:00
asctime.c * include/libc-symbols.h (hidden_weak): Define it for [__ASSEMBLER__]. 2002-08-03 12:09:37 +00:00
clocktest.c Make local functions static. 2000-12-27 20:26:07 +00:00
ctime_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ctime.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
datemsk * time/Makefile (tst-getdate-ENV): Add TZDIR to environment. 2001-07-18 09:43:36 +00:00
Depend * time/Makefile (tst-getdate-ENV): Add TZDIR to environment. 2001-07-18 09:43:36 +00:00
difftime.c [BZ #535] 2004-11-11 22:31:17 +00:00
dysize.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
era.c * locale/lc-time.c (_nl_init_era_entries, _nl_get_era_entry, 2002-08-28 23:11:21 +00:00
getdate.c Update. 2003-09-04 08:27:37 +00:00
gmtime.c Update. 2002-08-04 23:32:14 +00:00
lc-time-cleanup.c * locale/lc-time.c (_nl_init_era_entries, _nl_get_era_entry, 2002-08-28 23:11:21 +00:00
localtime.c * include/libc-symbols.h (hidden_weak): Define it for [__ASSEMBLER__]. 2002-08-03 12:09:37 +00:00
Makefile [BZ #473, BZ #487] 2004-11-01 00:21:39 +00:00
mktime.c [BZ #541] 2004-11-11 00:28:17 +00:00
offtime.c Update. 2002-05-16 06:14:36 +00:00
strftime_l.c Update. 2004-09-14 04:41:35 +00:00
strftime.c Update. 2004-03-14 21:12:06 +00:00
strptime_l.c 2004-08-09 Roland McGrath <roland@redhat.com> 2004-08-09 19:47:44 +00:00
strptime.c Update. 2004-03-14 21:12:06 +00:00
test_time.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
time.h Update. 2003-04-19 16:57:17 +00:00
timegm.c * time/mktime.c: (my_mktime_localtime_r): 2003-12-31 23:58:57 +00:00
tst_wcsftime.c Update. 1999-06-16 22:55:47 +00:00
tst-ftime_l.c (main): Also test strftime with uselocale. 2002-08-31 20:15:31 +00:00
tst-getdate.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
tst-mktime2.c [BZ #473, BZ #487] 2004-11-01 00:21:39 +00:00
tst-mktime.c [BZ #473, BZ #487] 2004-11-01 00:21:39 +00:00
tst-posixtz.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
tst-strftime.c (do_test): Add tests for - flag. 2003-05-11 22:41:23 +00:00
tst-strptime.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
tzfile.c Update. 2004-09-30 06:16:50 +00:00
tzset.c Update. 2004-09-14 04:41:35 +00:00
Versions Update. 2003-01-08 02:31:28 +00:00
wcsftime_l.c Update. 2004-03-14 21:12:06 +00:00
wcsftime.c Update. 2004-03-14 21:12:06 +00:00