summaryrefslogtreecommitdiff
path: root/news/slurp/files/patch-ah
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/files/patch-ah
parentKeep an eye on this port. (diff)
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/files/patch-ah')
-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) +