Patches submitted from May 20 to Aug 28 1997

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2406 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 1997-09-01 21:59:51 +00:00
parent f0a72da206
commit 25afcc3594
119 changed files with 16409 additions and 1698 deletions

View file

@ -106,13 +106,13 @@ _NSFoundationUncaughtExceptionHandler(NSException *exception)
_NSUncaughtExceptionHandler = _NSFoundationUncaughtExceptionHandler;
thread = [NSThread currentThread];
handler = [thread exceptionHandler];
handler = thread->_exception_handler;
if (handler == NULL) {
_NSUncaughtExceptionHandler(self);
return;
}
[thread setExceptionHandler: handler->next];
thread->_exception_handler = handler->next;
handler->exception = self;
longjmp(handler->jumpState, 1);
}
@ -176,8 +176,8 @@ _NSAddHandler( NSHandler *handler )
NSThread *thread;
thread = [NSThread currentThread];
handler->next = [thread exceptionHandler];
[thread setExceptionHandler: handler];
handler->next = thread->_exception_handler;
thread->_exception_handler = handler;
}
void
@ -186,5 +186,5 @@ _NSRemoveHandler( NSHandler *handler )
NSThread *thread;
thread = [NSThread currentThread];
[thread setExceptionHandler: ([thread exceptionHandler])->next];
thread->_exception_handler = thread->_exception_handler->next;
}