RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/ CHANGES rpm/rpmdb/ header.c

From: Jeff Johnson <jbj@rpm5.org>
Date: Mon 15 Oct 2007 - 17:54:08 CEST
Message-Id: <20071015155408.4230534847C@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:   15-Oct-2007 17:54:08
  Branch: HEAD                             Handle: 2007101516540701

  Modified files:
    rpm                     CHANGES
    rpm/rpmdb               header.c

  Log:
    - fix: missed a level of indirection.

  Summary:
    Revision    Changes     Path
    1.1712      +1  -0      rpm/CHANGES
    1.77        +1  -1      rpm/rpmdb/header.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/CHANGES
  ============================================================================
  $ cvs diff -u -r1.1711 -r1.1712 CHANGES
  --- rpm/CHANGES	15 Oct 2007 12:08:48 -0000	1.1711
  +++ rpm/CHANGES	15 Oct 2007 15:54:07 -0000	1.1712
  @@ -1,4 +1,5 @@
   4.5 -> 5.0:
  +    - jbj: fix: missed a level of indirection.
       - bero: Initialize arch and os in rpmtsAddInstallElement, fixing crash when
         installing a src.rpm
       - jbj: fix: typo broke i32p indices when sizeof(void *) != sizeof(int_32).
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/rpmdb/header.c
  ============================================================================
  $ cvs diff -u -r1.76 -r1.77 header.c
  --- rpm/rpmdb/header.c	14 Oct 2007 22:54:00 -0000	1.76
  +++ rpm/rpmdb/header.c	15 Oct 2007 15:54:08 -0000	1.77
  @@ -3166,7 +3166,7 @@
   	HE_t he = &he_s;
   	he->tag = 0;
   	he->t = &ec->type;
  -	(*he->p).ptr = &ec->data;
  +	he->p = &ec->data;
   	he->c = &ec->count;
   	he->freeData = 0;
   	if (fn(hsa->h, he))
  @@ .
Received on Mon Oct 15 17:54:08 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.