diff options
Diffstat (limited to 'news')
-rw-r--r-- | news/nntpcache/files/patch-sum | 3 | ||||
-rw-r--r-- | news/nntpcache/patches/patch-y2k | 14 |
2 files changed, 17 insertions, 0 deletions
diff --git a/news/nntpcache/files/patch-sum b/news/nntpcache/files/patch-sum new file mode 100644 index 00000000000..808d6790aa2 --- /dev/null +++ b/news/nntpcache/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1 2000/01/26 20:16:15 mjl Exp $ + +MD5 (patch-y2k) = 01027dbc31903a7ae3034f1c81e004b8 diff --git a/news/nntpcache/patches/patch-y2k b/news/nntpcache/patches/patch-y2k new file mode 100644 index 00000000000..d9c12332b1d --- /dev/null +++ b/news/nntpcache/patches/patch-y2k @@ -0,0 +1,14 @@ +$NetBSD: patch-y2k,v 1.1 2000/01/26 20:16:18 mjl Exp $ + +--- src/newgroups.c.orig Wed Jan 26 20:55:05 2000 ++++ src/newgroups.c Wed Jan 26 20:56:21 2000 +@@ -36,6 +36,9 @@ + if ((t[i]=c2i(d+2*i))==-1) + goto bad; + memset(&tm, 0, sizeof tm); ++ if(t[0] < 50) ++ tm.tm_year = t[0] + 100; ++ else + tm.tm_year = t[0]; + tm.tm_mon = t[1]-1; + tm.tm_mday = t[2]; |