RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/lib/ rpmchecksig.c

From: Jeff Johnson <jbj@rpm5.org>
Date: Tue 20 Nov 2007 - 19:54:33 CET
Message-Id: <20071120185433.3B16734845D@rpm5.org>
  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Jeff Johnson
  Root:   /v/rpm/cvs                       Email:  jbj@rpm5.org
  Module: rpm                              Date:   20-Nov-2007 19:54:33
  Branch: HEAD                             Handle: 2007112018543300

  Modified files:
    rpm/lib                 rpmchecksig.c

  Log:
    - fix: convert the other occurence of rpmReadHeader to use dig, not
    ts.

  Summary:
    Revision    Changes     Path
    1.185       +1  -1      rpm/lib/rpmchecksig.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/lib/rpmchecksig.c
  ============================================================================
  $ cvs diff -u -r1.184 -r1.185 rpmchecksig.c
  --- rpm/lib/rpmchecksig.c	20 Nov 2007 17:37:03 -0000	1.184
  +++ rpm/lib/rpmchecksig.c	20 Nov 2007 18:54:33 -0000	1.185
  @@ -799,7 +799,7 @@
       {	Header h = NULL;
   	const char item[] = "Header";
   	const char * msg = NULL;
  -	rc = rpmReadHeader(ts, fd, &h, &msg);
  +	rc = rpmReadHeader(dig, fd, &h, &msg);
   	if (rc != RPMRC_OK) {
   	    rpmlog(RPMLOG_ERR, "%s: %s: %s\n", fn, item, msg);
   	    msg = _free(msg);
  @@ .
Received on Tue Nov 20 19:54:33 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.