aboutsummaryrefslogtreecommitdiffstats
path: root/news/slurp
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>1999-10-27 17:06:45 +0800
committermharo <mharo@FreeBSD.org>1999-10-27 17:06:45 +0800
commit258a2b1d89c2108f8e791560036514522adf91ed (patch)
treed8f99010bbbb81b3d46c0fd556f7ba6ff4bda11d /news/slurp
parentd318420e2ed8b5fe10a9e77767bf791802bd8bdd (diff)
downloadfreebsd-ports-graphics-258a2b1d89c2108f8e791560036514522adf91ed.tar.gz
freebsd-ports-graphics-258a2b1d89c2108f8e791560036514522adf91ed.tar.zst
freebsd-ports-graphics-258a2b1d89c2108f8e791560036514522adf91ed.zip
y2k patch
PR: 13694 Submitted by: James Raynard james@jraynard.demon.co.uk
Diffstat (limited to 'news/slurp')
-rw-r--r--news/slurp/files/patch-ah11
1 files changed, 11 insertions, 0 deletions
diff --git a/news/slurp/files/patch-ah b/news/slurp/files/patch-ah
new file mode 100644
index 00000000000..0343dd5ff15
--- /dev/null
+++ b/news/slurp/files/patch-ah
@@ -0,0 +1,11 @@
+--- hostfiles.c.orig Sat Sep 11 10:40:33 1999
++++ hostfiles.c Sat Sep 11 10:42:36 1999
+@@ -166,7 +166,7 @@
+ else
+ {
+ tmtime = gmtime (&nexttime);
+- ndate = (tmtime -> tm_year * 10000) +
++ ndate = (tmtime -> tm_year%100 * 10000) +
+ ((tmtime -> tm_mon + 1) * 100) +
+ tmtime -> tm_mday;
+ ntime = (tmtime -> tm_hour * 10000) +