libextractor

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

commit eb4d288b56de43aa275c8592e1d87064900a3d17
parent ed8ccc4c208f23ed3b49a3d6eb7675f68792454b
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 22 Jul 2008 09:09:38 +0000

fix

Diffstat:
Msrc/plugins/rpm/rpmextractor.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/rpm/rpmextractor.c b/src/plugins/rpm/rpmextractor.c @@ -47,6 +47,7 @@ pipe_feeder(void * args) &p->data[p->pos], p->size - p->pos))) ) p->pos += ret; + CLOSE(p->pi[1]); return NULL; } @@ -274,9 +275,8 @@ libextractor_rpm_extract (const char *filename, sig.sa_handler = &sigalrmHandler; sigaction (SIGALRM, &sig, &old); parg.shutdown = 1; - CLOSE(parg.pi[1]); pthread_kill(pthr, SIGALRM); - pthread_join(pthr, &unused); + // pthread_join(pthr, &unused); sigaction (SIGALRM, &old, &sig); Fclose(fdi); CLOSE(parg.pi[0]);