mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2026-09-19 14:54:22 +00:00
timegm/timeoff "fix"es
SCCS-file: localtime.c SCCS-SID: 7.5
This commit is contained in:
committed by
Paul Eggert
parent
6ae3a49a68
commit
7cbab3bfea
+2
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user