projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4537bc3
)
Fix check for nocontext flag
author
Panu Matilainen
<pmatilai@redhat.com>
Fri, 8 Aug 2008 10:04:10 +0000
(13:04 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Fri, 8 Aug 2008 10:04:10 +0000
(13:04 +0300)
lib/transaction.c
patch
|
blob
|
history
diff --git
a/lib/transaction.c
b/lib/transaction.c
index
1f99384
..
64b79f2
100644
(file)
--- a/
lib/transaction.c
+++ b/
lib/transaction.c
@@
-1003,12
+1003,12
@@
int rpmtsRun(rpmts ts, rpmps okProbs, rpmprobFilterFlags ignoreSet)
rpmtsSetFlags(ts, (rpmtsFlags(ts) | RPMTRANS_FLAG_NOCONTEXTS));
}
- if (!
rpmtsFlags(ts) & RPMTRANS_FLAG_NOCONTEXTS
) {
+ if (!
(rpmtsFlags(ts) & RPMTRANS_FLAG_NOCONTEXTS)
) {
char *fn = rpmGetPath("%{?_install_file_context_path}", NULL);
if (matchpathcon_init(fn) == -1) {
rpmtsSetFlags(ts, (rpmtsFlags(ts) | RPMTRANS_FLAG_NOCONTEXTS));
}
-
_
free(fn);
+ free(fn);
}
ts->probs = rpmpsFree(ts->probs);