diff options
author | hubertf <hubertf> | 2000-07-21 00:14:01 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2000-07-21 00:14:01 +0000 |
commit | ccc8307d6fffe3834cd48d9e0a6595de5b413f05 (patch) | |
tree | 01e3ec00913756f95b0b15baec09e20aed9802cf /net/icb | |
parent | 1af705437b9ec5f196c02441f0423f173d2bc5c9 (diff) | |
download | pkgsrc-ccc8307d6fffe3834cd48d9e0a6595de5b413f05.tar.gz |
Fix y2k bug in logfile handling:
[01:35] Session log "icb.log" started at 7/21/100 1:35am.
^^^
Diffstat (limited to 'net/icb')
-rw-r--r-- | net/icb/files/patch-sum | 4 | ||||
-rw-r--r-- | net/icb/patches/patch-aa | 29 |
2 files changed, 27 insertions, 6 deletions
diff --git a/net/icb/files/patch-sum b/net/icb/files/patch-sum index 9974c36738f..c53134c018c 100644 --- a/net/icb/files/patch-sum +++ b/net/icb/files/patch-sum @@ -1,6 +1,6 @@ -$NetBSD: patch-sum,v 1.8 1999/11/29 05:19:25 soren Exp $ +$NetBSD: patch-sum,v 1.9 2000/07/21 00:14:01 hubertf Exp $ -MD5 (patch-aa) = 1dbe6280e8f26757116c633892b2ea76 +MD5 (patch-aa) = f6342b55aa894c06fdc83bbc3a8d9ecc MD5 (patch-ab) = af1c56e0de45046d2f36c1b4b7558741 MD5 (patch-ac) = 4ab936ec1ad42beb7ceed7372807747a MD5 (patch-ad) = dcfe2f67487ec52d26d8df8bd589609a diff --git a/net/icb/patches/patch-aa b/net/icb/patches/patch-aa index 88be43cebc0..de3a8df24d1 100644 --- a/net/icb/patches/patch-aa +++ b/net/icb/patches/patch-aa @@ -1,8 +1,7 @@ -$NetBSD: patch-aa,v 1.7 1999/11/26 22:12:37 hubertf Exp $ +$NetBSD: patch-aa,v 1.8 2000/07/21 00:14:02 hubertf Exp $ -diff -x *.orig -urN ./icb/c_log.c /usr/pkgsrc/net/icb/work.i386.unpatched/icb-5.0.9/icb/c_log.c ---- ./icb/c_log.c Fri Feb 24 22:20:18 1995 -+++ /usr/pkgsrc/net/icb/work.i386.unpatched/icb-5.0.9/icb/c_log.c Fri Nov 26 22:56:29 1999 +--- icb/c_log.c.orig Fri Feb 24 22:20:18 1995 ++++ icb/c_log.c Fri Jul 21 02:08:35 2000 @@ -6,6 +6,7 @@ #include "icb.h" #include "externs.h" @@ -20,3 +19,25 @@ diff -x *.orig -urN ./icb/c_log.c /usr/pkgsrc/net/icb/work.i386.unpatched/icb-5. /* determine pathname to use */ if (path == NULL || *path == '\0') +@@ -97,8 +96,8 @@ + aptr++; + + /* timestamp it */ +- sprintf(mbuf, "Session log \"%s\" started at %d/%02d/%-2d %s.", +- path, t->tm_mon+1, t->tm_mday, t->tm_year, aptr); ++ sprintf(mbuf, "Session log \"%s\" started at %d/%02d/%-4d %s.", ++ path, t->tm_mon+1, t->tm_mday, 1900+t->tm_year, aptr); + putl(mbuf, PL_SCR | PL_LOG); + + return(0); +@@ -126,8 +125,8 @@ + aptr++; + + /* timestamp it */ +- sprintf(mbuf, "Session log closed at %d/%02d/%-2d %s.", +- t->tm_mon+1, t->tm_mday, t->tm_year, aptr); ++ sprintf(mbuf, "Session log closed at %d/%02d/%-4d %s.", ++ t->tm_mon+1, t->tm_mday, 1900+t->tm_year, aptr); + putl(mbuf, PL_SCR | PL_LOG); + + /* close it */ |