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:
e590740
)
was calculating incorrect archive size for package w/ hard links
author
ewt
<devnull@localhost>
Fri, 3 Oct 1997 16:08:20 +0000
(16:08 +0000)
committer
ewt
<devnull@localhost>
Fri, 3 Oct 1997 16:08:20 +0000
(16:08 +0000)
CVS patchset: 1838
CVS date: 1997/10/03 16:08:20
lib/cpio.c
patch
|
blob
|
history
diff --git
a/lib/cpio.c
b/lib/cpio.c
index
473b505
..
af1096d
100644
(file)
--- a/
lib/cpio.c
+++ b/
lib/cpio.c
@@
-862,6
+862,8
@@
int cpioBuildArchive(int fd, struct cpioFileMapping * mappings,
parent = hlink;
hlink = hlink->next;
free(parent);
+
+ totalsize += size;
}
memset(&hdr, '0', sizeof(hdr));