From 8c99b4055ecf419a756254ae880b9e2c5c8f4f89 Mon Sep 17 00:00:00 2001 From: Reinhard Prix Date: Mon, 15 Jan 2007 23:24:11 +0000 Subject: [PATCH] finish off half-removed signal-handling in -DREENTRANT case [this was started in version 1.2, but not completed, so -DREENTRANT wouldn't compile] svn path=/trunk/boinc/; revision=11873 --- zip/unzip/unzip.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/zip/unzip/unzip.c b/zip/unzip/unzip.c index 667879adbd..651abb24ea 100644 --- a/zip/unzip/unzip.c +++ b/zip/unzip/unzip.c @@ -981,16 +981,6 @@ int unzip(__G__ argc, argv) retcode = process_zipfiles(__G); cleanup_and_exit: -#ifdef REENTRANT - /* restore all signal handlers back to their state at function entry */ - while (oldsighandlers != NULL) { - savsigs_info *thissigsav = oldsighandlers; - - signal(thissigsav->sigtype, thissigsav->sighandler); - oldsighandlers = thissigsav->previous; - free(thissigsav); - } -#endif #if (defined(MALLOC_WORK) && !defined(REENTRANT)) if (G.area.Slide != (uch *)NULL) { free(G.area.Slide);