RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/ CHANGES rpm/build/ files.c rpm/lib/ manifest.c package...

From: Jeff Johnson <jbj@rpm5.org>
Date: Fri 09 Nov 2007 - 22:32:38 CET
Message-Id: <20071109213238.95B9D34844B@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:32:38
  Branch: HEAD                             Handle: 2007110921323602

  Modified files:
    rpm                     CHANGES
    rpm/build               files.c
    rpm/lib                 manifest.c package.c psm.c query.c rpmps.c rpmrc.c
                            transaction.c
    rpm/python              header-py.c

  Log:
    - rpm.org: Remove bunch of unnecessary misc.h includes, document
    others.

  Summary:
    Revision    Changes     Path
    1.1786      +1  -0      rpm/CHANGES
    1.287       +1  -1      rpm/build/files.c
    2.21        +0  -1      rpm/lib/manifest.c
    2.179       +0  -1      rpm/lib/package.c
    2.258       +1  -1      rpm/lib/psm.c
    2.188       +1  -1      rpm/lib/query.c
    2.16        +0  -1      rpm/lib/rpmps.c
    2.216       +0  -1      rpm/lib/rpmrc.c
    1.351       +1  -1      rpm/lib/transaction.c
    1.74        +0  -1      rpm/python/header-py.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/CHANGES
  ============================================================================
  $ cvs diff -u -r1.1785 -r1.1786 CHANGES
  --- rpm/CHANGES	9 Nov 2007 21:23:51 -0000	1.1785
  +++ rpm/CHANGES	9 Nov 2007 21:32:36 -0000	1.1786
  @@ -1,4 +1,5 @@
   4.5 -> 5.0:
  +    - rpm.org: Remove bunch of unnecessary misc.h includes, document others.
       - rpm.org: Remove useless "var" parameter from setup helpers.
       - rpm.org: Remove dead & unused RPMTAG_ARCHIVESIZE addition code ...
       - rpm.org: Remove rpmSetMachine() from API.
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/build/files.c
  ============================================================================
  $ cvs diff -u -r1.286 -r1.287 files.c
  --- rpm/build/files.c	8 Nov 2007 16:20:12 -0000	1.286
  +++ rpm/build/files.c	9 Nov 2007 21:32:36 -0000	1.287
  @@ -33,7 +33,7 @@
   #include "buildio.h"
   
   #include "legacy.h"	/* XXX dodigest */
  -#include "misc.h"
  +#include "misc.h"	/* for splitString, freeSplitString */
   #include "debug.h"
   
   /*@access Header @*/
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/lib/manifest.c
  ============================================================================
  $ cvs diff -u -r2.20 -r2.21 manifest.c
  --- rpm/lib/manifest.c	11 Oct 2007 19:44:22 -0000	2.20
  +++ rpm/lib/manifest.c	9 Nov 2007 21:32:37 -0000	2.21
  @@ -10,7 +10,6 @@
   
   #include "stringbuf.h"
   #include "manifest.h"
  -#include "misc.h"
   #include "debug.h"
   
   /*@access StringBuf @*/
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/lib/package.c
  ============================================================================
  $ cvs diff -u -r2.178 -r2.179 package.c
  --- rpm/lib/package.c	8 Nov 2007 19:40:40 -0000	2.178
  +++ rpm/lib/package.c	9 Nov 2007 21:32:37 -0000	2.179
  @@ -11,7 +11,6 @@
   
   #include "rpmts.h"
   
  -#include "misc.h"		/* XXX stripTrailingChar() */
   #include <pkgio.h>
   
   #include "header_internal.h"	/* XXX headerCheck */
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/lib/psm.c
  ============================================================================
  $ cvs diff -u -r2.257 -r2.258 psm.c
  --- rpm/lib/psm.c	8 Nov 2007 20:33:18 -0000	2.257
  +++ rpm/lib/psm.c	9 Nov 2007 21:32:37 -0000	2.258
  @@ -29,7 +29,7 @@
   #include "rpmts.h"
   
   #include <pkgio.h>
  -#include "misc.h"		/* XXX rpmMkdirPath */
  +#include "misc.h"		/* XXX rpmMkdirPath, makeTempFile, doputenv */
   #include "rpmdb.h"		/* XXX for db_chrootDone */
   #include "signature.h"		/* signature constants */
   #include "debug.h"
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/lib/query.c
  ============================================================================
  $ cvs diff -u -r2.187 -r2.188 query.c
  --- rpm/lib/query.c	11 Oct 2007 19:44:22 -0000	2.187
  +++ rpm/lib/query.c	9 Nov 2007 21:32:37 -0000	2.188
  @@ -21,7 +21,7 @@
   #include "rpmts.h"
   
   #include "manifest.h"
  -#include "misc.h"	/* XXX for rpmGlob() */
  +#include "misc.h"	/* XXX for currentDirectory() */
   
   #include "debug.h"
   
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/lib/rpmps.c
  ============================================================================
  $ cvs diff -u -r2.15 -r2.16 rpmps.c
  --- rpm/lib/rpmps.c	3 Nov 2007 23:44:01 -0000	2.15
  +++ rpm/lib/rpmps.c	9 Nov 2007 21:32:37 -0000	2.16
  @@ -10,7 +10,6 @@
   #define	_RPMPS_INTERNAL
   #include "rpmps.h"
   
  -#include "misc.h"
   #include "debug.h"
   
   /*@access fnpyKey @*/
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/lib/rpmrc.c
  ============================================================================
  $ cvs diff -u -r2.215 -r2.216 rpmrc.c
  --- rpm/lib/rpmrc.c	9 Nov 2007 21:23:51 -0000	2.215
  +++ rpm/lib/rpmrc.c	9 Nov 2007 21:32:37 -0000	2.216
  @@ -15,7 +15,6 @@
   #include <rpmlua.h>
   #include <rpmds.h>
   
  -#include "misc.h"
   #include "debug.h"
   
   /*@access miRE@*/
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/lib/transaction.c
  ============================================================================
  $ cvs diff -u -r1.350 -r1.351 transaction.c
  --- rpm/lib/transaction.c	8 Nov 2007 20:33:18 -0000	1.350
  +++ rpm/lib/transaction.c	9 Nov 2007 21:32:37 -0000	1.351
  @@ -33,7 +33,7 @@
   #include "cpio.h"
   #include "fprint.h"
   #include "legacy.h"	/* XXX dodigest */
  -#include "misc.h" /* XXX stripTrailingChar, splitString, currentDirectory */
  +#include "misc.h" /* XXX (free)splitString, currentDirectory */
   
   #include "debug.h"
   
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/python/header-py.c
  ============================================================================
  $ cvs diff -u -r1.73 -r1.74 header-py.c
  --- rpm/python/header-py.c	8 Nov 2007 16:20:12 -0000	1.73
  +++ rpm/python/header-py.c	9 Nov 2007 21:32:38 -0000	1.74
  @@ -8,7 +8,6 @@
   #include "rpmcli.h"	/* XXX for rpmCheckSig */
   
   #include "legacy.h"
  -#include "misc.h"
   #include "header_internal.h"	/* XXX HEADERFLAG_ALLOCATED */
   
   #include "rpmts.h"	/* XXX rpmtsCreate/rpmtsFree */
  @@ .
Received on Fri Nov 9 22:32:38 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.