RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/ CHANGES rpm/lib/ depends.c

From: Jeff Johnson <jbj@rpm5.org>
Date: Tue 13 Nov 2007 - 14:34:42 CET
Message-Id: <20071113133442.A46B4348470@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:   13-Nov-2007 14:34:42
  Branch: HEAD                             Handle: 2007111313344200

  Modified files:
    rpm                     CHANGES
    rpm/lib                 depends.c

  Log:
    - jbj: don't cache unsatisfied Suggests:.

  Summary:
    Revision    Changes     Path
    1.1822      +1  -0      rpm/CHANGES
    1.361       +3  -0      rpm/lib/depends.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/CHANGES
  ============================================================================
  $ cvs diff -u -r1.1821 -r1.1822 CHANGES
  --- rpm/CHANGES	13 Nov 2007 03:54:30 -0000	1.1821
  +++ rpm/CHANGES	13 Nov 2007 13:34:42 -0000	1.1822
  @@ -1,4 +1,5 @@
   5.0a1 -> 5.0a2:
  +    - jbj: don't cache unsatisfied Suggests:.
       - jbj: fix the last memory leak with -Kvv, recheck install/query paths.
       - jbj: functional -Kvv *.xar header-only DSA verify.
       - jbj: disable tagTypeValidate on --addsig and --delsig paths.
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/lib/depends.c
  ============================================================================
  $ cvs diff -u -r1.360 -r1.361 depends.c
  --- rpm/lib/depends.c	10 Nov 2007 18:06:42 -0000	1.360
  +++ rpm/lib/depends.c	13 Nov 2007 13:34:42 -0000	1.361
  @@ -1075,6 +1075,9 @@
   unsatisfied:
       if (Flags & RPMSENSE_MISSINGOK) {
   	rc = 0;	/* dependency is unsatisfied, but just a hint. */
  +#if defined(CACHE_DEPENDENCY_RESULT)
  +	_cacheThisRC = 0;
  +#endif
   	rpmdsNotify(dep, _("(hint skipped)"), rc);
       } else {
   	rc = 1;	/* dependency is unsatisfied */
  @@ .
Received on Tue Nov 13 14:34:42 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.