diff options
author | jbj <devnull@localhost> | 2001-11-18 17:49:21 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-11-18 17:49:21 +0000 |
commit | ceed8357c7f11f2b04c491011244feba416e9fa7 (patch) | |
tree | 6360bfc11325ddeaa1e79acb54f556a1f25ab4f2 /build | |
parent | 06522b9c1e615d3c7e37ceb5ac89b518b6ec3a80 (diff) | |
download | rpm-ceed8357c7f11f2b04c491011244feba416e9fa7.tar.gz rpm-ceed8357c7f11f2b04c491011244feba416e9fa7.tar.bz2 rpm-ceed8357c7f11f2b04c491011244feba416e9fa7.zip |
- convert file md5sum's to binary on the fly, reducing memory footprint.
CVS patchset: 5192
CVS date: 2001/11/18 17:49:21
Diffstat (limited to 'build')
-rw-r--r-- | build/files.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/files.c b/build/files.c index c04635983..1cba159fd 100644 --- a/build/files.c +++ b/build/files.c @@ -17,7 +17,7 @@ #include "buildio.h" #include "myftw.h" -#include "legacy.h" /* XXX mdfile, expandFileList, compressFileList */ +#include "legacy.h" /* XXX domd5, expandFileList, compressFileList */ #include "misc.h" #include "debug.h" @@ -1271,7 +1271,7 @@ static void genCpioListAndHeader(/*@partial@*/ FileList fl, buf[0] = '\0'; if (S_ISREG(flp->fl_mode)) - (void) mdfile(flp->diskURL, buf); + (void) domd5(flp->diskURL, buf, 1); s = buf; (void) headerAddOrAppendEntry(h, RPMTAG_FILEMD5S, RPM_STRING_ARRAY_TYPE, &s, 1); |