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:
d535818
)
Adjust rpmfi directory count while messing with it in build
author
Panu Matilainen
<pmatilai@redhat.com>
Tue, 11 Nov 2008 15:35:42 +0000
(17:35 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Tue, 11 Nov 2008 15:35:42 +0000
(17:35 +0200)
- otherwise we can miss some entries in rpmfiFN() max calculation and
blow up in entertaining ways
build/files.c
patch
|
blob
|
history
diff --git
a/build/files.c
b/build/files.c
index
088c8b3
..
db9335d
100644
(file)
--- a/
build/files.c
+++ b/
build/files.c
@@
-1258,6
+1258,7
@@
static void genCpioListAndHeader(FileList fl,
fi->bnl = _free(fi->bnl);
fi->dil = _free(fi->dil);
+ fi->dc = fi->fc;
fi->dnl = xmalloc(fi->fc * sizeof(*fi->dnl) + dpathlen + 1);
d = (char *)(fi->dnl + fi->fc);
*d = '\0';