OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 01-Nov-2006 12:50:39
Branch: HEAD Handle: 2006110111503900
Modified files:
openpkg-src/pks pks.patch
Log:
another bugfix from upstream CVS
Summary:
Revision Changes Path
1.2 +22 -1 openpkg-src/pks/pks.patch
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/pks/pks.patch
============================================================================
$ cvs diff -u -r1.1 -r1.2 pks.patch
--- openpkg-src/pks/pks.patch 1 Nov 2006 11:45:39 -0000 1.1
+++ openpkg-src/pks/pks.patch 1 Nov 2006 11:50:39 -0000 1.2
@@ -1,6 +1,27 @@
+Index: kd_index.c
+--- kd_index.c.orig 2003-01-26 20:54:45 +0100
++++ kd_index.c 2006-11-01 12:48:44 +0100
+@@ -107,7 +107,7 @@
+ char buf[512];
+
+ sprintf(buf, " %.*s\n",
+- (int) ue->uidplen, ue->uidprint);
++ ue->uidplen < 255 ? (int) ue->uidplen : 255, ue->uidprint);
+
+ if (!xbuffer_append_str(s->xb, buf))
+ return(0);
+@@ -197,7 +197,7 @@
+ c_tm->tm_year+1900, c_tm->tm_mon+1, c_tm->tm_mday,
+ (ke->revocation.len?
+ "*** KEY REVOKED ***\n ":""),
+- (int) ke->primary->uidplen,
++ ke->primary->uidplen < 255 ? (int) ke->primary->uidplen : 255,
+ ke->primary->uidprint);
+
+ if (!xbuffer_append_str(s->xb, buf))
Index: pgputil.c
--- pgputil.c.orig 2003-01-26 17:08:58 +0100
-+++ pgputil.c 2006-11-01 12:22:32 +0100
++++ pgputil.c 2006-11-01 12:46:39 +0100
@@ -121,6 +121,11 @@
if (!decode_num(data, 2, &(mpi->nbits)))
return(0);
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]