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:
d0c5b80
)
increment count in headerAppendEntry()
author
ewt
<devnull@localhost>
Thu, 23 Jan 1997 21:12:26 +0000
(21:12 +0000)
committer
ewt
<devnull@localhost>
Thu, 23 Jan 1997 21:12:26 +0000
(21:12 +0000)
CVS patchset: 1351
CVS date: 1997/01/23 21:12:26
lib/header.c
patch
|
blob
|
history
diff --git
a/lib/header.c
b/lib/header.c
index
6eb2886
..
55701f2
100644
(file)
--- a/
lib/header.c
+++ b/
lib/header.c
@@
-842,5
+842,7
@@
int headerAppendEntry(Header h, int_32 tag, int_32 type, void * p, int_32 c) {
grabData(type, entry->data + entry->length, c, &length);
entry->length += length;
+ entry->info.count += c;
+
return 0;
}