timegm/timeoff "fix"es

SCCS-file: localtime.c
SCCS-SID: 7.5
This commit is contained in:
Arthur David Olson
2012-07-18 03:02:07 -04:00
committed by Paul Eggert
parent 6ae3a49a68
commit 7cbab3bfea
+2 -1
View File
@@ -1340,6 +1340,7 @@ time_t
timegm(tmp)
struct tm * const tmp;
{
tmp->tm_isdst = 0;
return time1(tmp, gmtsub, 0L);
}
@@ -1348,7 +1349,7 @@ timeoff(tmp, offset)
struct tm * const tmp;
const long offset;
{
tmp->tm_isdst = 0;
return time1(tmp, gmtsub, offset);
}