lra@aluxe.UUCP (Lonnie R. Abelbeck, AT&T Bell Labs) (08/06/84)
[] 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 <sys/timeb.h> 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