projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update from glibc
[gnulib.git]
/
lib
/
mktime.c
diff --git
a/lib/mktime.c
b/lib/mktime.c
index
4709d56
..
3803f5c
100644
(file)
--- a/
lib/mktime.c
+++ b/
lib/mktime.c
@@
-1,4
+1,5
@@
-/* Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* mktime: convert a `struct tm' to a time_t value zzzzzz
+ Copyright (C) 1993-1997, 1998 Free Software Foundation, Inc.
Contributed by Paul Eggert (eggert@twinsun.com).
NOTE: The canonical source of this file is maintained with the GNU C Library.
Contributed by Paul Eggert (eggert@twinsun.com).
NOTE: The canonical source of this file is maintained with the GNU C Library.
@@
-79,7
+80,7
@@
It is necessary at least when t == time_t. */
#define TYPE_MINIMUM(t) ((t) (TYPE_SIGNED (t) \
? ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1) : (t) 0))
It is necessary at least when t == time_t. */
#define TYPE_MINIMUM(t) ((t) (TYPE_SIGNED (t) \
? ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1) : (t) 0))
-#define TYPE_MAXIMUM(t) (
~ (t) 0 - TYPE_MINIMUM (t
))
+#define TYPE_MAXIMUM(t) (
(t) (~ (t) 0 - TYPE_MINIMUM (t)
))
#ifndef INT_MIN
# define INT_MIN TYPE_MINIMUM (int)
#ifndef INT_MIN
# define INT_MIN TYPE_MINIMUM (int)