mirror of https://github.com/BOINC/boinc.git
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:
parent
cc9ab449e0
commit
8c99b4055e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue