diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-09-01 10:31:44 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-09-01 10:31:44 +0300 |
commit | c3770c9404ffa2fcfbe0869dd7fbdb73466a637a (patch) | |
tree | d0ebbd5bf4a66d5a3c392dfac2712de19a47a57f /build | |
parent | 1eb9ae13f66435060f7f1a6d27fea6e6965782d2 (diff) | |
download | rpm-c3770c9404ffa2fcfbe0869dd7fbdb73466a637a.tar.gz rpm-c3770c9404ffa2fcfbe0869dd7fbdb73466a637a.tar.bz2 rpm-c3770c9404ffa2fcfbe0869dd7fbdb73466a637a.zip |
Make internal file classifier look into compressed files
- prerequisite for various things like font provide extraction
- at least libmagic from file-5.00 leaked fd's with MAGIC_COMPRESS,
this has been fixed as of file-5.03
Diffstat (limited to 'build')
-rw-r--r-- | build/rpmfc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/rpmfc.c b/build/rpmfc.c index 64837819a..1bcc6ecae 100644 --- a/build/rpmfc.c +++ b/build/rpmfc.c @@ -1211,7 +1211,7 @@ rpmRC rpmfcClassify(rpmfc fc, ARGV_t argv, rpm_mode_t * fmode) size_t slen; int fcolor; int xx; - int msflags = MAGIC_CHECK; /* XXX MAGIC_COMPRESS flag? */ + int msflags = MAGIC_CHECK | MAGIC_COMPRESS; magic_t ms = NULL; if (fc == NULL || argv == NULL) |