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:
1eb9ae1
)
Make internal file classifier look into compressed files
author
Panu Matilainen
<pmatilai@redhat.com>
Tue, 1 Sep 2009 07:31:44 +0000
(10:31 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Tue, 1 Sep 2009 07:31:44 +0000
(10:31 +0300)
- 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
build/rpmfc.c
patch
|
blob
|
history
diff --git
a/build/rpmfc.c
b/build/rpmfc.c
index
6483781
..
1bcc6ec
100644
(file)
--- 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)