RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/rpmio/ dumpasn1.c

From: Jeff Johnson <jbj@rpm5.org>
Date: Thu 12 Aug 2010 - 14:42:37 CEST
Message-Id: <20100812124237.6D79ECD764@rpm5.org>
  RPM Package Manager, CVS Repository
  /cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Jeff Johnson
  Root:   /v/rpm/cvs                       Email:  jbj@rpm5.org
  Module: rpm                              Date:   12-Aug-2010 14:42:37
  Branch: HEAD                             Handle: 2010081212423700

  Modified files:
    rpm/rpmio               dumpasn1.c

  Log:
    - sanity.

  Summary:
    Revision    Changes     Path
    2.12        +3  -3      rpm/rpmio/dumpasn1.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/rpmio/dumpasn1.c
  ============================================================================
  $ cvs diff -u -r2.11 -r2.12 dumpasn1.c
  --- rpm/rpmio/dumpasn1.c	30 Jun 2010 17:38:33 -0000	2.11
  +++ rpm/rpmio/dumpasn1.c	12 Aug 2010 12:42:37 -0000	2.12
  @@ -190,7 +190,7 @@
       unsigned char oid[MAX_OID_SIZE];
       int oidLength;
       char *comment;		/* Name, rank, ... */
  -    char **description;		/* ... and serial number */
  +    char *description;		/* ... and serial number */
       int warn;			/* Whether to warn if OID encountered */
   } OIDINFO;
   
  @@ -884,7 +884,7 @@
   
       /* Check if LHS status info + indent + "OCTET STRING" string + data wraps */
       if ((AF_ISSET(PURE) ? 0 : INDENT_SIZE) + (level * 2) + 12 +
  -	(length * 3) < (int)asn->outwidth)
  +	(length * 3) < asn->outwidth)
   	singleLine = TRUE;
   
       if (noBytes > 128 && !AF_ISSET(ALLDATA))
  @@ -1823,7 +1823,7 @@
   			ch, (ch != 1) ? "s" : "");
   	    asn->fPos++;
   	    if (!--item->length && !ch) {
  -		rpmasnPuta("\n", asn);
  +		rpmasnPuts("\n", asn);
   		complain(asn, "Object has zero length", level);
   		return;
   	    }
  @@ .
Received on Thu Aug 12 14:42:37 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.