summaryrefslogtreecommitdiff
path: root/lib/rpmds.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-08-19 22:27:44 +0000
committerjbj <devnull@localhost>2002-08-19 22:27:44 +0000
commitae8428475cbfde3af746d51a056e0655fe6269d8 (patch)
tree6d173ac13fbc11799ea49d3dd70d5b8ee452283a /lib/rpmds.c
parent105f7a517cd13b7c40b359548a9c75cbd00ed9c4 (diff)
downloadlibrpm-tizen-ae8428475cbfde3af746d51a056e0655fe6269d8.tar.gz
librpm-tizen-ae8428475cbfde3af746d51a056e0655fe6269d8.tar.bz2
librpm-tizen-ae8428475cbfde3af746d51a056e0655fe6269d8.zip
- add --with-efence to configure, check install/upgrade with efence.
- beecrypt: short hex string conversion overflows target buffer. - mark "successors only" packages in transaction. - reap scriptlets with SIGCHLD handler. - rename PSM_t to rpmpsm, add methods and refcounts to manage. - remove %%configure/%%makeinstall from arch-os/macros, default is OK. - don't export MALLOC_CHECK_ to scriptlets. - squeaky clean memory leak checking. - always malloc rpmfi structure, refcounts are correct in rpmtsRun(). - skip redundant /sbin/ldconfig scripts on upgrade (if possible). CVS patchset: 5645 CVS date: 2002/08/19 22:27:44
Diffstat (limited to 'lib/rpmds.c')
-rw-r--r--lib/rpmds.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/rpmds.c b/lib/rpmds.c
index 97c50df0e..5885475a9 100644
--- a/lib/rpmds.c
+++ b/lib/rpmds.c
@@ -30,10 +30,10 @@ int _rpmds_unspecified_epoch_noise = 0;
rpmds XrpmdsUnlink(rpmds ds, const char * msg, const char * fn, unsigned ln)
{
if (ds == NULL) return NULL;
-/*@-modfilesystem@*/
+/*@-modfilesys@*/
if (_rpmds_debug && msg != NULL)
fprintf(stderr, "--> ds %p -- %d %s at %s:%u\n", ds, ds->nrefs, msg, fn, ln);
-/*@=modfilesystem@*/
+/*@=modfilesys@*/
ds->nrefs--;
return NULL;
}
@@ -43,10 +43,10 @@ rpmds XrpmdsLink(rpmds ds, const char * msg, const char * fn, unsigned ln)
if (ds == NULL) return NULL;
ds->nrefs++;
-/*@-modfilesystem@*/
+/*@-modfilesys@*/
if (_rpmds_debug && msg != NULL)
fprintf(stderr, "--> ds %p ++ %d %s at %s:%u\n", ds, ds->nrefs, msg, fn, ln);
-/*@=modfilesystem@*/
+/*@=modfilesys@*/
/*@-refcounttrans@*/ return ds; /*@=refcounttrans@*/
}
@@ -62,10 +62,10 @@ rpmds rpmdsFree(rpmds ds)
if (ds->nrefs > 1)
return rpmdsUnlink(ds, ds->Type);
-/*@-modfilesystem@*/
+/*@-modfilesys@*/
if (_rpmds_debug < 0)
fprintf(stderr, "*** ds %p\t%s[%d]\n", ds, ds->Type, ds->Count);
-/*@=modfilesystem@*/
+/*@=modfilesys@*/
if (ds->tagN == RPMTAG_PROVIDENAME) {
tagEVR = RPMTAG_PROVIDEVERSION;
@@ -175,10 +175,10 @@ rpmds rpmdsNew(Header h, rpmTag tagN, int scareMem)
ds->Flags, ds->Count * sizeof(*ds->Flags));
/*@=boundsread@*/
-/*@-modfilesystem@*/
+/*@-modfilesys@*/
if (_rpmds_debug < 0)
fprintf(stderr, "*** ds %p\t%s[%d]\n", ds, ds->Type, ds->Count);
-/*@=modfilesystem@*/
+/*@=modfilesys@*/
}
/*@=branchstate@*/
@@ -497,10 +497,10 @@ int rpmdsNext(/*@null@*/ rpmds ds)
} else
ds->i = -1;
-/*@-modfilesystem @*/
+/*@-modfilesys @*/
if (_rpmds_debug < 0 && i != -1)
fprintf(stderr, "*** ds %p\t%s[%d]: %s\n", ds, (ds->Type ? ds->Type : "?Type?"), i, (ds->DNEVR ? ds->DNEVR : "?DNEVR?"));
-/*@=modfilesystem @*/
+/*@=modfilesys @*/
}