RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/ .splintrc Makefile.am rpm/build/ .splintrc build.c par...

From: Jeff Johnson <jbj@rpm5.org>
Date: Mon 17 Dec 2007 - 16:45:48 CET
Message-Id: <20071217154548.DB485348453@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:   17-Dec-2007 16:45:48
  Branch: HEAD                             Handle: 2007121715454701

  Modified files:
    rpm                     .splintrc Makefile.am
    rpm/build               .splintrc build.c parsePrep.c spec.c

  Log:
    - global splint silence w00t! now for the Zen of the other hand
    clapping ..

  Summary:
    Revision    Changes     Path
    2.11        +59 -3      rpm/.splintrc
    2.213       +1  -3      rpm/Makefile.am
    2.8         +5  -7      rpm/build/.splintrc
    2.125       +0  -1      rpm/build/build.c
    2.104       +1  -1      rpm/build/parsePrep.c
    2.171       +1  -1      rpm/build/spec.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/.splintrc
  ============================================================================
  $ cvs diff -u -r2.10 -r2.11 .splintrc
  --- rpm/.splintrc	5 Oct 2005 20:27:14 -0000	2.10
  +++ rpm/.splintrc	17 Dec 2007 15:45:47 -0000	2.11
  @@ -1,9 +1,9 @@
  --I. -I./build -I./lib -I./rpmdb -I./rpmio -I./beecrypt -I./lua/include -I./lua/local -I./file/src -I./popt -I./elfutils/libelf -I./zlib -I/usr/lib/gcc-lib/i386-redhat-linux/3.1/include -DHAVE_CONFIG_H -D_GNU_SOURCE -D_REENTRANT -DHAVE_DEV_DSP -DHAVE_SYS_SOUNDCARD
  +-I. -I./build -I./lib -I./rpmdb -I./rpmio -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/beecrypt -I/usr/include/neon -I/usr/include/xar -I./lua -I./lua/local -I./file/src -DHAVE_CONFIG_H -D_GNU_SOURCE -D_REENTRANT
   
   #+partial
   +forcehints
   
  --warnunixlib
  +#-warnunixlib
   -warnposix
   
   +unixlib
  @@ -16,10 +16,66 @@
   #+likelybounds
   +slovak-fcns
   +access-slovak
  --redecl
  +-branchstate
   -bufferoverflowhigh
  +-redecl
  +
  +-aliasunique
  +-compdef
  +-compmempass
  +-duplicatequals
  +-evalorder
  +-formatconst
  +-globs
  +-globstate
  +-globuse
  +-incondefs
  +-infloops
  +-infloopsuncon
  +-internalglobs
  +-modobserver
  +-mods
  +-moduncon
  +-mustmod
  +-noeffect
  +-noeffectuncon
  +-noparams
  +-nullassign
  +-nullderef
  +-nullpass
  +-nullptrarith
  +-nullstate
  +-oldstyle
  +-paramuse
  +-protoparammatch
  +-retvalint
  +-retvalother
  +-shadow
  +-shiftimplementation
  +-shiftnegative
  +-sizeoftype
  +-type
  +-unrecog
  +-usereleased
  +-warnlintcomments
  +
  +-dependenttrans
  +-kepttrans
  +-temptrans
  +-observertrans
  +-onlytrans
  +-ownedtrans
  +-readonlytrans
  +-statictrans
  +-unqualifiedtrans
  +
  +-looploopbreak
   -whileempty
   
  +-exportheader
  +-exportheadervar
  +-exportlocal
  +
   -macroparams
   -declundef
   -enummemuse
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/Makefile.am
  ============================================================================
  $ cvs diff -u -r2.212 -r2.213 Makefile.am
  --- rpm/Makefile.am	15 Nov 2007 11:39:37 -0000	2.212
  +++ rpm/Makefile.am	17 Dec 2007 15:45:47 -0000	2.213
  @@ -128,9 +128,7 @@
   		`make -s sources -C lib` \
   		`make -s sources -C rpmdb` \
   		`make -s sources -C rpmio` \
  -		`make -s sources -C beecrypt` \
  -		`make -s sources -C file/src` \
  -		`make -s sources -C popt`
  +		`make -s sources -C file/src`
   
   CVSTAG = r$(subst .,-,$(VERSION))
   
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/build/.splintrc
  ============================================================================
  $ cvs diff -u -r2.7 -r2.8 .splintrc
  --- rpm/build/.splintrc	17 Dec 2007 07:07:41 -0000	2.7
  +++ rpm/build/.splintrc	17 Dec 2007 15:45:48 -0000	2.8
  @@ -15,20 +15,18 @@
   -branchstate
   -bufferoverflowhigh
   
  --compdef
  --compmempass
  --incondefs
  +-compdef		# 4
  +-compmempass		# 55
  +-incondefs		# 4 rpmFooMacroContext typedef
   -internalglobs		# 32
   -mustmod
  --nullstate
  --usereleased
  +-nullstate		# 3
  +-usereleased		# 7
   
   -dependenttrans		# 7
   -observertrans		# 16
   -readonlytrans		# 8
   
  --forempty
  -
   # --- +partial artifacts
   -declundef
   -exportheader
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/build/build.c
  ============================================================================
  $ cvs diff -u -r2.124 -r2.125 build.c
  --- rpm/build/build.c	17 Dec 2007 07:07:41 -0000	2.124
  +++ rpm/build/build.c	17 Dec 2007 15:45:48 -0000	2.125
  @@ -21,7 +21,6 @@
   #else
   const char * getSourceDir(rpmfileAttrs attr)
   #endif
  -    /*@globals rpmGlobalMacroContext @*/
   {
       const char * dir = NULL;
   #if defined(RPM_VENDOR_OPENPKG) /* splitted-source-directory */
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/build/parsePrep.c
  ============================================================================
  $ cvs diff -u -r2.103 -r2.104 parsePrep.c
  --- rpm/build/parsePrep.c	17 Dec 2007 07:07:41 -0000	2.103
  +++ rpm/build/parsePrep.c	17 Dec 2007 15:45:48 -0000	2.104
  @@ -794,7 +794,7 @@
       for (lines = saveLines; *lines; lines++) {
   	res = 0;
   	for (cp = *lines; *cp == ' ' || *cp == '\t'; cp++)
  -	    ;
  +	    {};
   	if (! strncmp(cp, "%setup", sizeof("%setup")-1)) {
   	    res = doSetupMacro(spec, cp);
   #ifndef	DYING
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/build/spec.c
  ============================================================================
  $ cvs diff -u -r2.170 -r2.171 spec.c
  --- rpm/build/spec.c	17 Dec 2007 07:07:41 -0000	2.170
  +++ rpm/build/spec.c	17 Dec 2007 15:45:48 -0000	2.171
  @@ -229,7 +229,7 @@
       int i;
   
       for (i = 0; i < num; i++)
  -    if (!(p = p->next)) return NULL;
  +	if ((p = p->next) == NULL) return NULL;
   
       return p;
   }
  @@ .
Received on Mon Dec 17 16:45:48 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.