summaryrefslogtreecommitdiff
path: root/lib/rpmts.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-07-28 14:52:33 +0000
committerjbj <devnull@localhost>2002-07-28 14:52:33 +0000
commit5a1ebaccd57b157b70bcd1277f66c5d97e94edf1 (patch)
tree31abb845ee897f1d15c344737376ec8c38e2c00e /lib/rpmts.c
parent670ab1c845c0f5f9d252b4599186b4934d20c4b7 (diff)
downloadlibrpm-tizen-5a1ebaccd57b157b70bcd1277f66c5d97e94edf1.tar.gz
librpm-tizen-5a1ebaccd57b157b70bcd1277f66c5d97e94edf1.tar.bz2
librpm-tizen-5a1ebaccd57b157b70bcd1277f66c5d97e94edf1.zip
- python: don't segfault in ts.GetKeys() on erased packages.
resurrect build modes. add undocumented debugging options. CVS patchset: 5577 CVS date: 2002/07/28 14:52:33
Diffstat (limited to 'lib/rpmts.c')
-rw-r--r--lib/rpmts.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rpmts.c b/lib/rpmts.c
index 86919ec7e..70d4c7b9f 100644
--- a/lib/rpmts.c
+++ b/lib/rpmts.c
@@ -63,7 +63,7 @@ extern int statvfs (const char * file, /*@out@*/ struct statvfs * buf)
/*@access pgpDigParams @*/
/*@unchecked@*/
-int _ts_debug = 0;
+int _rpmts_debug = 0;
char * hGetNEVR(Header h, const char ** np)
{
@@ -87,7 +87,7 @@ char * hGetNEVR(Header h, const char ** np)
rpmts XrpmtsUnlink(rpmts ts, const char * msg, const char * fn, unsigned ln)
{
/*@-modfilesystem@*/
-if (_ts_debug)
+if (_rpmts_debug)
fprintf(stderr, "--> ts %p -- %d %s at %s:%u\n", ts, ts->nrefs, msg, fn, ln);
/*@=modfilesystem@*/
ts->nrefs--;
@@ -98,7 +98,7 @@ rpmts XrpmtsLink(rpmts ts, const char * msg, const char * fn, unsigned ln)
{
ts->nrefs++;
/*@-modfilesystem@*/
-if (_ts_debug)
+if (_rpmts_debug)
fprintf(stderr, "--> ts %p ++ %d %s at %s:%u\n", ts, ts->nrefs, msg, fn, ln);
/*@=modfilesystem@*/
/*@-refcounttrans@*/ return ts; /*@=refcounttrans@*/