/**
* @param fc file classifier
*/
+/*@-exportlocal@*/
void rpmfcPrint(const char * msg, rpmfc fc, FILE * fp)
/*@globals fileSystem @*/
/*@modifies *fp, fc, fileSystem @*/;
+/*@=exportlocal@*/
/**
* Destroy a file classifier.
static int fileprovideTag(Header h, /*@out@*/ rpmTagType * type,
/*@out@*/ const void ** data, /*@out@*/ int_32 * count,
/*@out@*/ int * freeData)
- /*@modifies *type, *data, *count, *freeData @*/
+ /*@modifies h, *type, *data, *count, *freeData @*/
/*@requires maxSet(type) >= 0 /\ maxSet(data) >= 0
/\ maxSet(count) >= 0 /\ maxSet(freeData) >= 0 @*/
{
static int filerequireTag(Header h, /*@out@*/ rpmTagType * type,
/*@out@*/ const void ** data, /*@out@*/ int_32 * count,
/*@out@*/ int * freeData)
- /*@modifies *type, *data, *count, *freeData @*/
+ /*@modifies h, *type, *data, *count, *freeData @*/
/*@requires maxSet(type) >= 0 /\ maxSet(data) >= 0
/\ maxSet(count) >= 0 /\ maxSet(freeData) >= 0 @*/
{
size_t nb;
rpmTagType ddt, fxt, fnt;
char * t;
- int dx, ndx, i, ix, xx;
+ unsigned ix;
+ int dx, ndx, i, xx;
if (!hge(h, RPMTAG_FILESIZES, NULL, (void **) NULL, &ac) || ac == 0) {
if (fdepsp) *fdepsp = NULL;
ix = ddict[dx++];
mydt = ((ix >> 24) & 0xff);
if (mydt != deptype)
- continue;
+ /*@innercontinue@*/ continue;
ix &= 0x00ffffff;
(void) rpmdsSetIx(ds, ix-1);
if (rpmdsNext(ds) < 0)
- continue;
+ /*@innercontinue@*/ continue;
DNEVR = rpmdsDNEVR(ds);
if (DNEVR != NULL)
nb += strlen(DNEVR+2) + 1;
ix = ddict[dx++];
mydt = ((ix >> 24) & 0xff);
if (mydt != deptype)
- continue;
+ /*@innercontinue@*/ continue;
ix &= 0x00ffffff;
(void) rpmdsSetIx(ds, ix-1);
if (rpmdsNext(ds) < 0)
- continue;
+ /*@innercontinue@*/ continue;
DNEVR = rpmdsDNEVR(ds);
if (DNEVR != NULL) {
t = stpcpy(t, DNEVR+2);
*/
void rpmfiBuildFDeps(Header h, rpmTag tagN,
/*@out@*/ const char *** fdepsp, /*@out@*/ int * fcp)
- /*@modifies *fdepsp, *fcp @*/;
+ /*@modifies h, *fdepsp, *fcp @*/;
/**
* Return file type from mode_t.