RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/ CHANGES rpm/build/ pack.c

From: Jeff Johnson <jbj@rpm5.org>
Date: Fri 09 Nov 2007 - 22:18:43 CET
Message-Id: <20071109211843.D66BD348477@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:   09-Nov-2007 22:18:43
  Branch: HEAD                             Handle: 2007110921184300

  Modified files:
    rpm                     CHANGES
    rpm/build               pack.c

  Log:
    - rpm.org: Remove dead & unused RPMTAG_ARCHIVESIZE addition code ...

  Summary:
    Revision    Changes     Path
    1.1784      +1  -0      rpm/CHANGES
    2.248       +0  -12     rpm/build/pack.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/CHANGES
  ============================================================================
  $ cvs diff -u -r1.1783 -r1.1784 CHANGES
  --- rpm/CHANGES	9 Nov 2007 21:15:44 -0000	1.1783
  +++ rpm/CHANGES	9 Nov 2007 21:18:43 -0000	1.1784
  @@ -1,4 +1,5 @@
   4.5 -> 5.0:
  +    - rpm.org: Remove dead & unused RPMTAG_ARCHIVESIZE addition code ...
       - rpm.org: Remove rpmSetMachine() from API.
       - jbj: hmmm, headerGetExtension should not leak memory on failure. hack it.
       - jbj: more memory leak canoodling.
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/build/pack.c
  ============================================================================
  $ cvs diff -u -r2.247 -r2.248 pack.c
  --- rpm/build/pack.c	8 Nov 2007 20:33:18 -0000	2.247
  +++ rpm/build/pack.c	9 Nov 2007 21:18:43 -0000	2.248
  @@ -621,18 +621,6 @@
       if (pkgidp)
   	*pkgidp = NULL;
   
  -#ifdef	DYING
  -    if (Fileno(csa->cpioFdIn) < 0) {
  -	csa->cpioArchiveSize = 0;
  -	/* Add a bogus archive size to the Header */
  -	he->tag = RPMTAG_ARCHIVESIZE;
  -	he->t = RPM_UINT32_TYPE;
  -	he->p.ui32p = &csa->cpioArchiveSize;
  -	he->c = 1;
  -	xx = hae(h, he, 0);
  -    }
  -#endif
  -
       /* Save payload information */
       isSource =
   	(headerIsEntry(h, RPMTAG_SOURCERPM) == 0 &&
  @@ .
Received on Fri Nov 9 22:18:43 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.