From 4046be1a951f08aa6ebe61cc01942eca4e2a6d46 Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 12 Jan 2000 20:30:41 +0000 Subject: Moved from misc/sc/patches/patch-ac,v --- math/sc/patches/patch-ac | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 math/sc/patches/patch-ac diff --git a/math/sc/patches/patch-ac b/math/sc/patches/patch-ac new file mode 100644 index 00000000000..fbd1ebe6f76 --- /dev/null +++ b/math/sc/patches/patch-ac @@ -0,0 +1,31 @@ +$NetBSD: patch-ac,v 1.2 2000/01/12 20:30:42 wiz Exp $ + +--- interp.c.orig Mon May 11 13:43:36 1992 ++++ interp.c Tue Apr 20 18:55:25 1999 +@@ -476,7 +476,7 @@ + dodts(mo, day, yr) + int mo, day, yr; + { +- long trial; ++ time_t trial; + register struct tm *tp; + register int i; + register long jdate; +@@ -551,15 +551,13 @@ + int which; + double when; + { +- long time(); +- + static long t_cache; + static struct tm tm_cache; + struct tm *tp; +- long tloc; ++ time_t tloc; + + if (which == NOW) +- return (double)time((long *)0); ++ return (double)time(NULL); + + tloc = (long)when; + -- cgit v1.2.3