aboutsummaryrefslogtreecommitdiff
path: root/news/slurp
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>1999-10-27 09:06:45 +0000
committerMichael Haro <mharo@FreeBSD.org>1999-10-27 09:06:45 +0000
commit4157e9bf248156cf5ba1096c2dcee7f6a4c2e370 (patch)
treec3423004fce3980fe09d3c61b043f5952ff5ca06 /news/slurp
parent4a61d5fa4c017c97125587af867f3cb954c9e41b (diff)
downloadports-4157e9bf248156cf5ba1096c2dcee7f6a4c2e370.tar.gz
ports-4157e9bf248156cf5ba1096c2dcee7f6a4c2e370.zip
y2k patch
PR: 13694 Submitted by: James Raynard james@jraynard.demon.co.uk
Notes
Notes: svn path=/head/; revision=22674
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 000000000000..0343dd5ff157
--- /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) +