mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Minor cleanups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32031 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d5e9a52e35
commit
a63d65764c
15 changed files with 137 additions and 53 deletions
|
@ -968,7 +968,7 @@ callUncaughtHandler(id value)
|
|||
|
||||
thread = GSCurrentThread();
|
||||
handler = thread->_exception_handler;
|
||||
if (handler == NULL)
|
||||
if (NULL == handler)
|
||||
{
|
||||
static int recursion = 0;
|
||||
|
||||
|
@ -991,10 +991,12 @@ callUncaughtHandler(id value)
|
|||
*/
|
||||
callUncaughtHandler(self);
|
||||
}
|
||||
|
||||
thread->_exception_handler = handler->next;
|
||||
handler->exception = self;
|
||||
longjmp(handler->jumpState, 1);
|
||||
else
|
||||
{
|
||||
thread->_exception_handler = handler->next;
|
||||
handler->exception = self;
|
||||
longjmp(handler->jumpState, 1);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue