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 - 20:09:27 CET
Message-Id: <20071120190927.F150F34845D@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 20:09:27
  Branch: HEAD                             Handle: 2007112019092700

  Modified files:
    rpm/lib                 rpmchecksig.c

  Log:
    - even better, don't pass ts as argument.

  Summary:
    Revision    Changes     Path
    1.186       +2  -2      rpm/lib/rpmchecksig.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/lib/rpmchecksig.c
  ============================================================================
  $ cvs diff -u -r1.185 -r1.186 rpmchecksig.c
  --- rpm/lib/rpmchecksig.c	20 Nov 2007 18:54:33 -0000	1.185
  +++ rpm/lib/rpmchecksig.c	20 Nov 2007 19:09:27 -0000	1.186
  @@ -780,7 +780,7 @@
   /**
    * @todo If the GPG key was known available, the md5 digest could be skipped.
    */
  -static rpmRC readFile(rpmts ts, FD_t fd, const char * fn, pgpDig dig)
  +static rpmRC readFile(FD_t fd, const char * fn, pgpDig dig)
   	/*@globals fileSystem, internalState @*/
   	/*@modifies fd, *dig, fileSystem, internalState @*/
   {
  @@ -980,7 +980,7 @@
   
   	/* Read the file, generating digest(s) on the fly. */
   	if (dig == NULL || sigp == NULL
  -	 || readFile(ts, fd, fn, dig) != RPMRC_OK)
  +	 || readFile(fd, fn, dig) != RPMRC_OK)
   	{
   	    res++;
   	    goto exit;
  @@ .
Received on Tue Nov 20 20:09:28 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.