Message-ID: <295@aluxe.UUCP>
Date: Sun, 5-Aug-84 23:59:05 EDT
Article-I.D.: aluxe.295
Posted: Sun Aug 5 23:59:05 1984
Date-Received: Mon, 6-Aug-84 04:27:59 EDT
Organization: AT&T Bell Laboratories, Allentown, PA
Lines: 30
[]
Following is a "diff" of the new Beta macput.c submitted to fa.info-mac with
a slightly modified version to run on System V UNIX.
Many thanks to those who have been posting Mac sources to the net.
diff posted_macput.c modified_macput.c
8d7
< #include
186c185,186
< struct timeb tbuf;
---
> long tbuf;
> extern long timezone;
234,236c234,236
< ftime(&tbuf);
< tp = localtime(&tbuf.time);
< tdiff = TIMEDIFF - tbuf.timezone * 60;
---
> time(&tbuf);
> tp = localtime(&tbuf);
> tdiff = TIMEDIFF - timezone;
Lonnie Abelbeck
AT&T Bell Laboratories
mhuxi!aluxe!lra