head	2.30;
access;
symbols
	LSB_1_3_pr7:2.29
	rpm-4_1-release:2.29
	rpm-4_1:2.29.0.2
	rpm-4_0_4-release:2.11.2.7
	jbj-before-beecrypt:2.11.2.7
	rpm-4_0_3-release:2.11.2.7
	jbj_b4_rollback:2.11.2.7
	rpm-4_0_2-release:2.11.2.1
	rpm-4_0_1-release:2.11.2.1
	rpm-3_0_6-release:2.9
	rpm-4_0-release:2.11
	rpm-3_0_6:2.9
	rpm-4_0:2.11.0.2
	rpm-3_0_5:2.9.0.4
	jbj_sparc64:2.10.0.2
	rpm-3_0_4:2.9.0.2
	rpm-3_0_3:2.7.0.2
	rpm-3_0_2:2.5
	rpm-3_0:2.5.0.2
	r2-94:2.5
	r2-93:2.5
	r2-92:2.5
	r2-91:2.5
	r2-90:2.5;
locks; strict;
comment	@# @;


2.30
date	2002.11.30.22.15.29;	author jbj;	state dead;
branches;
next	2.29;

2.29
date	2002.07.14.21.23.30;	author jbj;	state Exp;
branches
	2.29.2.1;
next	2.28;

2.28
date	2002.07.02.23.54.36;	author jbj;	state Exp;
branches;
next	2.27;

2.27
date	2002.06.22.18.51.57;	author jbj;	state Exp;
branches;
next	2.26;

2.26
date	2002.06.19.18.54.10;	author jbj;	state Exp;
branches;
next	2.25;

2.25
date	2002.06.15.19.43.41;	author jbj;	state Exp;
branches;
next	2.24;

2.24
date	2002.05.16.16.55.26;	author jbj;	state Exp;
branches;
next	2.23;

2.23
date	2002.04.13.01.28.20;	author jbj;	state Exp;
branches;
next	2.22;

2.22
date	2002.01.18.22.51.31;	author jbj;	state Exp;
branches;
next	2.21;

2.21
date	2001.10.20.22.31.09;	author jbj;	state Exp;
branches;
next	2.20;

2.20
date	2001.10.19.13.51.20;	author jbj;	state Exp;
branches;
next	2.19;

2.19
date	2001.10.17.16.43.36;	author jbj;	state Exp;
branches;
next	2.18;

2.18
date	2001.09.15.13.49.11;	author jbj;	state Exp;
branches;
next	2.17;

2.17
date	2001.05.31.22.31.14;	author jbj;	state Exp;
branches;
next	2.16;

2.16
date	2001.05.09.22.58.56;	author jbj;	state Exp;
branches;
next	2.15;

2.15
date	2001.05.03.21.00.19;	author jbj;	state Exp;
branches;
next	2.14;

2.14
date	2001.04.30.22.32.22;	author jbj;	state Exp;
branches;
next	2.13;

2.13
date	2001.04.29.01.05.43;	author jbj;	state Exp;
branches;
next	2.12;

2.12
date	2000.08.23.13.46.36;	author jbj;	state Exp;
branches;
next	2.11;

2.11
date	2000.07.07.20.06.41;	author jbj;	state Exp;
branches
	2.11.2.1;
next	2.10;

2.10
date	2000.03.23.15.49.50;	author jbj;	state Exp;
branches;
next	2.9;

2.9
date	99.10.27.23.18.10;	author jbj;	state Exp;
branches;
next	2.8;

2.8
date	99.10.20.21.40.10;	author jbj;	state Exp;
branches;
next	2.7;

2.7
date	99.09.19.00.29.44;	author jbj;	state Exp;
branches;
next	2.6;

2.6
date	99.09.17.22.06.32;	author jbj;	state Exp;
branches;
next	2.5;

2.5
date	98.11.20.20.18.48;	author jbj;	state Exp;
branches;
next	2.4;

2.4
date	98.11.19.19.10.31;	author jbj;	state Exp;
branches;
next	2.3;

2.3
date	98.11.18.21.41.31;	author jbj;	state Exp;
branches;
next	2.2;

2.2
date	98.11.18.19.42.07;	author jbj;	state Exp;
branches;
next	2.1;

2.1
date	98.11.16.21.40.44;	author jbj;	state Exp;
branches;
next	;

2.11.2.1
date	2000.11.20.15.57.06;	author jbj;	state Exp;
branches;
next	2.11.2.2;

2.11.2.2
date	2001.04.29.01.02.18;	author jbj;	state Exp;
branches;
next	2.11.2.3;

2.11.2.3
date	2001.04.30.22.38.14;	author jbj;	state Exp;
branches;
next	2.11.2.4;

2.11.2.4
date	2001.05.03.21.02.18;	author jbj;	state Exp;
branches;
next	2.11.2.5;

2.11.2.5
date	2001.05.06.15.41.52;	author jbj;	state Exp;
branches;
next	2.11.2.6;

2.11.2.6
date	2001.05.09.23.01.42;	author jbj;	state Exp;
branches;
next	2.11.2.7;

2.11.2.7
date	2001.05.31.22.28.35;	author jbj;	state Exp;
branches;
next	2.11.2.8;

2.11.2.8
date	2003.03.22.17.58.18;	author jbj;	state dead;
branches;
next	;

2.29.2.1
date	2003.03.01.20.23.12;	author jbj;	state dead;
branches;
next	;


desc
@@


2.30
log
@More splint fiddles.
@
text
@-I. -I.. -I../build -I../rpmdb -I../rpmio -I../beecrypt -I../popt -DHAVE_CONFIG_H -D_GNU_SOURCE

+partial
+forcehints

-warnunixlib
-warnposix

+unixlib

-unrecogcomments	# XXX ignore doxygen markings

+strict			# lclint level

# --- in progress
+bounds
+slovak-fcns
-redecl
-bufferoverflowhigh

# --- +partial artifacts
-declundef
-exportheadervar
-exportlocal

-enummemuse
-fcnuse
-typeuse
-varuse

# --- not-yet at strict level
+bounds			# 0
-bitwisesigned		# 255
-elseifcomplete		# 95 occurences
-exportconst		# 839 occurences
-exportfcn
-exporttype
-exportvar
-fielduse		# 1 occurence <bits/sigset.h>
-forblock		# tedious
-ifblock		# tedious
-namechecks		# 1843 tedious ANSI compliance checks
-ptrarith		# 164

-compdestroy		# 66
-mustdefine		# 66
-sys-dir-errors

-strictops		# 46
-whileblock		# 54

# --- not-yet at checks level
+enumint		# 861
-mustfree		# 671
-predboolptr		# 311
-usedef			# 191

# --- not-yet at standard level
-boolops		# 165
+boolint		# 106
+charint		# 173
+ignorequals		# 397
+matchanyintegral	# 115
@


2.29
log
@- python: sanity check fixes on rpmts/rpmte methods.
@
text
@@


2.29.2.1
log
@Backport db-4.1.25 changes, more, from rpm-4.2.
@
text
@@


2.28
log
@Add boundsread annotations throughout, enable +bounds checking.
Start narrowing the scope of bounds annotations by adding more annotations.
@
text
@d19 1
@


2.27
log
@Factor bounds checking annotations into source code.
@
text
@d16 1
@


2.26
log
@Annotate incondefs in source code.
@
text
@d16 1
a16 2
#+bounds		# 629
#+boundswrite		# 317
d30 1
@


2.25
log
@- beecrypt: merge changes from beecrypt-2.3.0.
- beecrypt: merge doxygen markup with rpmapi doco.
- beecrypt: revert cpu/arch compile option mixup (#66752).
@
text
@d16 2
a17 2
#+bounds
#+boundswrite
d31 1
a31 1
-bitwisesigned		# pita
d40 1
a40 2
-incondefs		# <bits/{ipc,pthreadtypes}.h> heartburn
-namechecks		# tedious ANSI compliance checks
d45 1
a45 1
-shiftimplementation	# 696
@


2.24
log
@- opaque (well mostly) rpmTransactionSet using methods.
@
text
@d14 5
a18 1
-includenest 16		# getting deep, sigh
a29 6
# --- in progress
#+bounds
#+boundswrite
-redecl
-redef

a40 1
-matchfields		# <bits/ipc.h> heartburn
d42 8
a49 11
-numenummembers 1024	# RPMTAG has 138 members
-numstructfields 256	# Java jni.h has 229 fields
-ptrarith		# tedious

-compdestroy
-mustdefine
-shiftimplementation

-strictops
-strictusereleased
-whileblock		# tedious
d52 4
a55 5
-ansi-reserved
+enumint
-mustfree
-predboolptr
-usedef
d58 5
a62 6
-boolops
-predboolint
+boolint
+charint
+ignorequals
+matchanyintegral
@


2.23
log
@- use rpmdb-redhat to suggest dependency resolution(s).
@
text
@d26 6
@


2.22
log
@- missing key(s) on keyring when verifying a signature is now an error.
- remove dependency whiteout.
- splint fiddles.
@
text
@a45 1
#-shiftnegative
a48 1
-stringliterallen 4096	# redhat*PubKey's are big
@


2.21
log
@- stupid macros to configure public key file paths.
@
text
@d42 6
@


2.20
log
@Start ripping gpg/pgp on signature verify paths.
@
text
@d1 1
a1 1
-I. -I.. -I../build -I../rpmdb -I../rpmio -I../popt -DHAVE_CONFIG_H -D_GNU_SOURCE
@


2.19
log
@Converging on lclint-3.0.17 strict level.
@
text
@d14 1
@


2.18
log
@Sync with rpm-4_0 branch.
@
text
@d4 1
d11 1
a11 2
# XXX ignore doxygen markings
-unrecogcomments
d13 1
a13 2
#+mustmod		# segfault in psm.c:597
+proto-param-match
d15 45
a59 31
#-cpp-names
#-declundef		# db3 is noisy
#-deepbreak		# 485 cases
#-export-local
#-export-header
#-export-header-var

# don't-bother-me-yet parameters
-branchstate		# ~140 painful
-mustfree		# ~588 alloca is painful

# not-yet normal parameters
-boolops		# ~831 w->n
-predboolint		# ~574 w->n
-type			# ~872

# -weak paramaters
#+boolint
#-boolops
#+ignorequals
#+ignoresigns
#-mustfree
#+longintegral
#+matchanyintegral
#-nullpass
#-observertrans
#-predboolint
#-predboolothers
#-retvalint
#-retvalother
#-shiftsigned
@


2.17
log
@- return multiple suggested packages (Pawel Kolodziej <pawelk@@pld.org.pl>).
- fix: return suggested packages when using Depends cache.
@
text
@d29 1
a29 1
-predboolint		# ~576 w->n
@


2.16
log
@- rpm executables now setuid rpm to share write locks.
- expose more db3 macro configuration tokens.
@
text
@d13 10
@


2.15
log
@- still more boring lclint annotations and fiddles.
@
text
@d1 1
a1 1
-I. -I.. -I../build -I../rpmio -I../popt -DHAVE_CONFIG_H -D_GNU_SOURCE
@


2.14
log
@- yet more boring lclint annotations and fiddles.
@
text
@a18 1
#-null			# ~267
@


2.13
log
@- globalize _free(3) wrapper in rpmlib.h, consistent usage throughout.
- internalize locale insensitive ctype(3) in rpmio.h
- boring lclint annotations and fiddles.
@
text
@d14 2
a15 5
-branchstate		# ~142 occurences, painful
#-immediatetrans
-mustfree		# ~529 alloca is painful
#-observertrans
#-statictrans
d18 4
a21 7
-boolops		# w->n
#-fixedformalarray	# md5 whines
-null
-predboolint		# w->n
#-predboolothers		# w->n
-retvalint		# w->n
-type
d23 1
a23 1
# not-yet -weak paramaters
@


2.12
log
@comments only.
@
text
@d14 1
a14 1
-branchstate		# ~100 occurences, painful
d16 1
a16 1
-mustfree		# alloca is painful
d22 1
a22 1
-fixedformalarray
d25 1
a25 1
-predboolothers		# w->n
@


2.11
log
@lclint fiddles.
avoid pathological buffer overflow in lib/rpmrc.c
@
text
@d14 1
a14 1
-branchstate
d16 1
a16 1
-mustfree
@


2.11.2.1
log
@- add doxygen and lclint annotations most everywhere.
- consistent return for all signature verification.
- use enums for almost all rpmlib #define's.
- API: change rpmProblem typedef to pass by reference, not value.
- don't trim leading ./ in rpmCleanPath() (#14961).
- detect (still need to test) rdonly linux file systems.
- check available inodes as well as blocks on mounted file systems.
- pass rpmTransactionSet, not elements, to installBinaryPackage et al.
- add cscope/ctags (Rodrigo Barbosa<rodrigob@@conectiva.com.br>).
- remove getMacroBody() from rpmio API.
- add support for unzip <rodrigob@@conectiva.com.br>
@
text
@d14 1
a14 1
-branchstate		# ~100 occurences, painful
d16 1
a16 1
-mustfree		# alloca is painful
@


2.11.2.2
log
@- globalize _free(3) wrapper in rpmlib.h, consistent usage throughout.
- internalize locale insensitive ctype(3) in rpmio.h.
- boring lclint annotations and fiddles.
@
text
@d14 1
a14 1
-branchstate		# ~142 occurences, painful
d16 1
a16 1
-mustfree		# ~529 alloca is painful
d22 1
a22 1
#-fixedformalarray	# md5 whines
d25 1
a25 1
#-predboolothers		# w->n
@


2.11.2.3
log
@- yet more boring lclint annotations and fiddles.
@
text
@d14 5
a18 2
-branchstate		# ~140 painful
-mustfree		# ~588 alloca is painful
d21 7
a27 4
-boolops		# ~831 w->n
#-null			# ~267
-predboolint		# ~576 w->n
-type			# ~872
d29 1
a29 1
# -weak paramaters
@


2.11.2.4
log
@- still more boring lclint annotations and fiddles.
@
text
@d19 1
@


2.11.2.5
log
@Sanity.
@
text
@d19 1
a19 1
-predboolint		# ~574 w->n
@


2.11.2.6
log
@- rpm executables now setuid rpm to share write locks.
- expose more db3 macro configuration tokens.
@
text
@d1 1
a1 1
-I. -I.. -I../build -I../rpmdb -I../rpmio -I../popt -DHAVE_CONFIG_H -D_GNU_SOURCE
@


2.11.2.7
log
@- return multiple suggested packages (Pawel Kolodziej <pawelk@@pld.org.pl>).
- fix: return suggested packages when using Depends cache.
@
text
@a12 10
#+mustmod		# segfault in psm.c:597
+proto-param-match

#-cpp-names
#-declundef		# db3 is noisy
#-deepbreak		# 485 cases
#-export-local
#-export-header
#-export-header-var

@


2.11.2.8
log
@- bump rpm/popt versions, hardwire 4.0.4 in libraries.
- link rpm libraries together, move symbols to achieve forward linkage.
- use db-4.1.25, not db-4.0.14, internally.
- add rpmdb_loadcvt script, rpmdb_foo utilities.
- use current autotools,
- use splint, not lclint.
@
text
@@


2.10
log
@- API: change dbi to pass by reference, not value.
- cram all of db1, db_185, and db2 interfaces into rpmlib.
@
text
@d1 1
a1 1
-I. -I.. -I../build -I../popt -DHAVE_CONFIG_H -D_GNU_SOURCE
@


2.9
log
@use compressed filenames on install side.
start unifying FD types, CFD_t now gone.
@
text
@d10 3
@


2.8
log
@lclint annotations.
@
text
@d1 1
a1 1
-I. -I.. -I../build -I../popt -DHAVE_CONFIG_H
@


2.7
log
@do versioned provides/conflicts resolution correctly.
rpmpopt: display versioned provides/obsoletes.
revert to shared libbz2.so now that bzip2 is in base install.
@
text
@d15 1
a15 1
-statictrans
@


2.6
log
@Turn off noise for now.
@
text
@d12 1
a12 1
-immediatetrans
d14 1
a14 1
-observertrans
@


2.5
log
@Sanity.
@
text
@d1 1
a1 1
-I. -I.. -DHAVE_CONFIG_H
d9 7
@


2.4
log
@lclint noise.
@
text
@d1 1
a1 1
-I. -I.. -DHAVE_CONFIG_H -D_GNU_SOURCE
d16 1
@


2.3
log
@implement abstract fd type almost everywhere.
@
text
@a12 1
-fullinitblock
@


2.2
log
@Sanity.
@
text
@d10 2
a11 2
+boolint
-boolops
a12 1
-formattype
d14 3
a16 13
+ignorequals
+ignoresigns
+longintegral
+matchanyintegral
-mustfree
-nullpass
-observertrans
-predboolint
-predboolothers
-redef
-retvalint
-retvalother
-shiftsigned
d18 16
@


2.1
log
@LCLINT pass 0.
@
text
@d1 1
a1 11
-I. -I..

-Du_long=unsigned
-Du_int=unsigned
-Du_short=short
-Du_char=char

-Du_int32_t=unsigned
-Du_int16_t=short

-Dfd_set=void
a4 1
+unixlib	#-> +posixlib
d6 3
@

