about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-12-31 22:49:30 +0000
committerRoland McGrath <roland@gnu.org>2003-12-31 22:49:30 +0000
commite039fb25f0ce5dc8e605ee0de245fd3cd84f5025 (patch)
tree10d200acd1614be0c6625454688ebf5d4e2c2f6b /ChangeLog
parent85e0767087ce9e4ec005c6b83f2a9a58a9de337b (diff)
downloadglibc-e039fb25f0ce5dc8e605ee0de245fd3cd84f5025.tar.gz
glibc-e039fb25f0ce5dc8e605ee0de245fd3cd84f5025.tar.xz
glibc-e039fb25f0ce5dc8e605ee0de245fd3cd84f5025.zip
* time/mktime.c (check_result): Use less-confusing report format.
	"long" -> "long int", as per usual GNU style.
	(main): Likewise.
	Don't loop if the iteration overflows time_t.
	Allow a negative step in the iteration.

	* time/mktime.c: Assume freestanding C89 or better.
	(HAVE_LIMITS_H, STDC_HEADERS) [defined _LIBC]: Remove;
	assume they're 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.
	Prototypes use const * where appropriate.
	(main) [DEBUG]: Fix typo in testing code uncovered by above changes,
	which caused the testing code to dump core on some hosts.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 158dc1a4a6..b9280eba18 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2003-12-30  Paul Eggert  <eggert@twinsun.com>
+
+	* time/mktime.c (check_result): Use less-confusing report format.
+	"long" -> "long int", as per usual GNU style.
+	(main): Likewise.
+	Don't loop if the iteration overflows time_t.
+	Allow a negative step in the iteration.
+
+	* time/mktime.c: Assume freestanding C89 or better.
+	(HAVE_LIMITS_H, STDC_HEADERS) [defined _LIBC]: Remove;
+	assume they're 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.
+	Prototypes use const * where appropriate.
+	(main) [DEBUG]: Fix typo in testing code uncovered by above changes,
+	which caused the testing code to dump core on some hosts.
+
 2003-12-31  Ulrich Drepper  <drepper@redhat.com>
 
 	* locale/setlocale.c (setlocale): Avoid duplicating locale names