libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit e4a78aff0f164f5214335abe2fabcf24076f51cb
parent b58188b44af83495828a8f8791841c2d1eff16f5
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun,  5 Aug 2012 23:41:16 +0000

performance note

Diffstat:
Msrc/plugins/rpm_extractor.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/plugins/rpm_extractor.c b/src/plugins/rpm_extractor.c @@ -259,6 +259,9 @@ EXTRACTOR_rpm_extract_method (struct EXTRACTOR_ExtractContext *ec) struct sigaction sig; struct sigaction old; + /* FIXME: here it might be worthwhile to do some minimal + check to see if this is actually an RPM before we go + and create a pipe and a thread for nothing... */ parg.ec = ec; parg.shutdown = 0; if (0 != pipe (parg.pi))