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:
edf3ad4
)
install callbacks didn't return proper total size for source packages
author
ewt
<devnull@localhost>
Wed, 7 Apr 1999 06:04:42 +0000
(06:04 +0000)
committer
ewt
<devnull@localhost>
Wed, 7 Apr 1999 06:04:42 +0000
(06:04 +0000)
CVS patchset: 2962
CVS date: 1999/04/07 06:04:42
lib/install.c
patch
|
blob
|
history
diff --git
a/lib/install.c
b/lib/install.c
index
f579100
..
a77973d
100644
(file)
--- a/
lib/install.c
+++ b/
lib/install.c
@@
-764,6
+764,10
@@
static int installSources(Header h, const char * rootdir, FD_t fd,
currDir = realloc(currDir, currDirLen);
}
+ if (!headerGetEntry(h, RPMTAG_ARCHIVESIZE, NULL,
+ (void *) &archiveSizePtr, NULL))
+ archiveSizePtr = NULL;
+
chdir(realSourceDir);
if (installArchive(fd, fileCount > 0 ? files : NULL,
fileCount, notify, notifyData, NULL, h,