From: Pavel Charvat Date: Tue, 8 Aug 2006 17:25:36 +0000 (+0200) Subject: fixed bugs causing the imagesig analyser to fail in scanner X-Git-Tag: holmes-import~607 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=23d048bf93916d08a87b41533012a36e25de3d2f;p=libucw.git fixed bugs causing the imagesig analyser to fail in scanner --- diff --git a/images/io-main.c b/images/io-main.c index 0ed20129..c080b60c 100644 --- a/images/io-main.c +++ b/images/io-main.c @@ -60,9 +60,11 @@ image_io_reset(struct image_io *io) image_io_read_cancel(io); image_io_image_destroy(io); struct mempool *pool = io->internal_pool; + struct image_thread *thread = io->thread; mp_flush(pool); bzero(io, sizeof(*io)); io->internal_pool = pool; + io->thread = thread; } int diff --git a/images/sig-init.c b/images/sig-init.c index 091d7d6c..2dba481c 100644 --- a/images/sig-init.c +++ b/images/sig-init.c @@ -7,7 +7,7 @@ * of the GNU Lesser General Public License. */ -#define LOCAL_DEBUG +#undef LOCAL_DEBUG #include "sherlock/sherlock.h" #include "lib/math.h"