projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c322cab
)
update from FSF .../copies
author
Jim Meyering
<jim@meyering.net>
Wed, 17 Sep 1997 12:46:45 +0000
(12:46 +0000)
committer
Jim Meyering
<jim@meyering.net>
Wed, 17 Sep 1997 12:46:45 +0000
(12:46 +0000)
lib/mktime.c
patch
|
blob
|
history
diff --git
a/lib/mktime.c
b/lib/mktime.c
index 34112a9a08f01f4ef70387ba7e7779401b31fc8c..a96ff89397946c90823c906f31389a946f0313d2 100644
(file)
--- a/
lib/mktime.c
+++ b/
lib/mktime.c
@@
-226,10
+226,10
@@
__mktime_internal (tp, convert, offset)
[mon_remainder + 12 * negative_mon_remainder])
+ mday - 1);
+ int sec_requested = sec;
#if LEAP_SECONDS_POSSIBLE
/* Handle out-of-range seconds specially,
since ydhms_tm_diff assumes every minute has 60 seconds. */
- int sec_requested = sec;
if (sec < 0)
sec = 0;
if (59 < sec)