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
This commit is contained in:
Reinhard Prix 2007-01-15 23:24:11 +00:00
parent cc9ab449e0
commit 8c99b4055e
1 changed files with 0 additions and 10 deletions

View File

@ -981,16 +981,6 @@ int unzip(__G__ argc, argv)
retcode = process_zipfiles(__G); retcode = process_zipfiles(__G);
cleanup_and_exit: 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 (defined(MALLOC_WORK) && !defined(REENTRANT))
if (G.area.Slide != (uch *)NULL) { if (G.area.Slide != (uch *)NULL) {
free(G.area.Slide); free(G.area.Slide);