diff options
author | jbj <devnull@localhost> | 2001-10-15 17:53:34 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-10-15 17:53:34 +0000 |
commit | 72471f2e54686202a9862a3fd3bd6d0135d81d2a (patch) | |
tree | 3625a73d9ef73f4f29df80fe98fb6133041cb4bc /build.c | |
parent | 3f462f318fd2f602fddb1a95e5d652e67aafa49e (diff) | |
download | librpm-tizen-72471f2e54686202a9862a3fd3bd6d0135d81d2a.tar.gz librpm-tizen-72471f2e54686202a9862a3fd3bd6d0135d81d2a.tar.bz2 librpm-tizen-72471f2e54686202a9862a3fd3bd6d0135d81d2a.zip |
Explicit branchstate annotations.
CVS patchset: 5113
CVS date: 2001/10/15 17:53:34
Diffstat (limited to 'build.c')
-rw-r--r-- | build.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -43,12 +43,14 @@ static int checkSpec(Header h) rc = rpmtransAddPackage(ts, h, NULL, NULL, 0, NULL); rc = rpmdepCheck(ts, &conflicts, &numConflicts); + /*@-branchstate@*/ if (rc == 0 && conflicts) { rpmMessage(RPMMESS_ERROR, _("failed build dependencies:\n")); printDepProblems(stderr, conflicts, numConflicts); conflicts = rpmdepFreeConflicts(conflicts, numConflicts); rc = 1; } + /*@=branchstate@*/ ts = rpmtransFree(ts); if (db != NULL) @@ -122,8 +124,10 @@ static int buildForTarget(const char * arg, BTA_t ba, rpmSetTables(RPM_MACHTABLE_BUILDARCH, RPM_MACHTABLE_BUILDOS); #endif + /*@-branchstate@*/ if (ba->buildRootOverride) buildRootURL = rpmGenPath(NULL, ba->buildRootOverride, NULL); + /*@=branchstate@*/ if (ba->buildMode == 't') { FILE *fp; |