From 4157e9bf248156cf5ba1096c2dcee7f6a4c2e370 Mon Sep 17 00:00:00 2001 From: Michael Haro Date: Wed, 27 Oct 1999 09:06:45 +0000 Subject: [PATCH] y2k patch PR: 13694 Submitted by: James Raynard james@jraynard.demon.co.uk --- news/slurp/files/patch-ah | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 news/slurp/files/patch-ah 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) +