]> sourceware.org Git - glibc.git/commit
2003-12-30 Paul Eggert <eggert@twinsun.com>
authorRoland McGrath <roland@gnu.org>
Wed, 31 Dec 2003 22:48:00 +0000 (22:48 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 31 Dec 2003 22:48:00 +0000 (22:48 +0000)
commit85e0767087ce9e4ec005c6b83f2a9a58a9de337b
treeac3f23023239b5f654375ead8375247d6ddaa05a
parenta31f867a42e8dd7a92e58f70b73366e0a3677f57
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.
time/mktime.c
This page took 0.040572 seconds and 5 git commands to generate.