projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6e81ee
)
Whoops, flags needs to be sorted for argvSearch() to work correctly
author
Panu Matilainen
<pmatilai@redhat.com>
Mon, 23 May 2011 09:32:27 +0000
(12:32 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Mon, 23 May 2011 09:32:27 +0000
(12:32 +0300)
build/rpmfc.c
patch
|
blob
|
history
diff --git
a/build/rpmfc.c
b/build/rpmfc.c
index
45da9fa
..
7107c89
100644
(file)
--- a/
build/rpmfc.c
+++ b/
build/rpmfc.c
@@
-125,6
+125,7
@@
static rpmfcAttr rpmfcAttrNew(const char *name)
(*rule)->path = rpmfcAttrReg(name, prefix, "path");
(*rule)->magic = rpmfcAttrReg(name, prefix, "magic");
(*rule)->flags = argvSplitString(flags, ",", ARGV_SKIPEMPTY);
+ argvSort((*rule)->flags, NULL);
free(flags);
}