summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-11-12 21:55:50 +0000
committerjbj <devnull@localhost>2002-11-12 21:55:50 +0000
commite87e61d32e06a03bc6db1d2be8f546f1791eb892 (patch)
tree9f6007bd2571098b068ce81a3a672b9d1e23a8cc
parent937ba6c27ce37057fed550927e1f5c523475d33f (diff)
downloadlibrpm-tizen-e87e61d32e06a03bc6db1d2be8f546f1791eb892.tar.gz
librpm-tizen-e87e61d32e06a03bc6db1d2be8f546f1791eb892.tar.bz2
librpm-tizen-e87e61d32e06a03bc6db1d2be8f546f1791eb892.zip
--rollback debugging (for now).
CVS patchset: 5848 CVS date: 2002/11/12 21:55:50
-rw-r--r--lib/rpminstall.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rpminstall.c b/lib/rpminstall.c
index 75ee05304..e4dafb22f 100644
--- a/lib/rpminstall.c
+++ b/lib/rpminstall.c
@@ -933,6 +933,7 @@ IDTX IDTXload(rpmts ts, rpmTag tag)
HGE_t hge = (HGE_t) headerGetEntry;
Header h;
+rpmMessage(RPMMESS_DEBUG, "IDTXload(%p, %d)\n", ts, tag);
/*@-branchstate@*/
mi = rpmtsInitIterator(ts, tag, NULL, 0);
while ((h = rpmdbNextIterator(mi)) != NULL) {
@@ -958,6 +959,7 @@ IDTX IDTXload(rpmts ts, rpmTag tag)
idt = idtx->idt + idtx->nidt;
/*@=nullderef@*/
idt->h = headerLink(h);
+rpmMessage(RPMMESS_DEBUG, "\tidt %p h %p\n", idt, idt->h);
idt->key = NULL;
idt->instance = rpmdbGetIteratorOffset(mi);
idt->val.u32 = *tidp;
@@ -983,8 +985,10 @@ IDTX IDTXglob(rpmts ts, const char * globstr, rpmTag tag)
int xx;
int i;
+rpmMessage(RPMMESS_DEBUG, "IDTXglob(%p, %s, %d)\n", ts, globstr, tag);
av = NULL; ac = 0;
xx = rpmGlob(globstr, &ac, &av);
+rpmMessage(RPMMESS_DEBUG, "\txx %d ac %d av %p\n", xx, ac, av);
if (xx == 0)
for (i = 0; i < ac; i++) {
@@ -992,6 +996,7 @@ IDTX IDTXglob(rpmts ts, const char * globstr, rpmTag tag)
int_32 count;
int isSource;
+rpmMessage(RPMMESS_DEBUG, "\tav[%d] %s\n", i, av[i]);
fd = Fopen(av[i], "r.ufdio");
if (fd == NULL || Ferror(fd)) {
rpmError(RPMERR_OPEN, _("open of %s failed: %s\n"), av[i],