public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4294063
)
fixed for minix, which does not have ftime
author
ceriel
<none@none>
Tue, 24 Oct 1989 10:04:35 +0000
(10:04 +0000)
committer
ceriel
<none@none>
Tue, 24 Oct 1989 10:04:35 +0000
(10:04 +0000)
lang/cem/libcc/gen/tzset.c
patch
|
blob
|
history
diff --git
a/lang/cem/libcc/gen/tzset.c
b/lang/cem/libcc/gen/tzset.c
index
5fb3e80
..
cdb60bd
100644
(file)
--- a/
lang/cem/libcc/gen/tzset.c
+++ b/
lang/cem/libcc/gen/tzset.c
@@
-40,12
+40,17
@@
tzset()
__daylight = tzon.tz_dsttime;
#else
#ifndef __USG
+#if minix || minixST
+ __timezone = 0L;
+ __daylight = 0;
+#else
struct timeb time;
ftime(&time);
__timezone = time.timezone*60L;
__daylight = time.dstflag;
#endif
+#endif
#endif
{