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:
856df71
)
Permit conditional query formats on not yet cached data too
author
Panu Matilainen
<pmatilai@redhat.com>
Mon, 12 Oct 2009 07:48:59 +0000
(10:48 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Mon, 12 Oct 2009 07:48:59 +0000
(10:48 +0300)
lib/headerfmt.c
patch
|
blob
|
history
diff --git
a/lib/headerfmt.c
b/lib/headerfmt.c
index
97332e7
..
95bb3ee
100644
(file)
--- a/
lib/headerfmt.c
+++ b/
lib/headerfmt.c
@@
-689,7
+689,7
@@
static char * singleSprintf(headerSprintfArgs hsa, sprintfToken token,
break;
case PTOK_COND:
- if (get
Cached(hsa->cache
, token->u.cond.tag.tag) ||
+ if (get
Data(hsa
, token->u.cond.tag.tag) ||
headerIsEntry(hsa->h, token->u.cond.tag.tag)) {
spft = token->u.cond.ifFormat;
condNumFormats = token->u.cond.numIfTokens;