mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
revrt archiving changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29877 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
424814815e
commit
0b6a80065e
6 changed files with 28 additions and 28 deletions
|
@ -897,20 +897,19 @@ callUncaughtHandler(id value)
|
|||
|
||||
- (void) raise
|
||||
{
|
||||
#ifndef _NATIVE_OBJC_EXCEPTIONS
|
||||
NSThread *thread;
|
||||
NSHandler *handler;
|
||||
#endif
|
||||
|
||||
if (_reserved == 0)
|
||||
{
|
||||
_reserved = NSZoneCalloc([self zone], 2, sizeof(id));
|
||||
}
|
||||
_e_stack = [GSStackTrace new];
|
||||
|
||||
#ifdef _NATIVE_OBJC_EXCEPTIONS
|
||||
#if defined(_NATIVE_OBJC_EXCEPTIONS)
|
||||
@throw self;
|
||||
#else
|
||||
{
|
||||
NSThread *thread;
|
||||
NSHandler *handler;
|
||||
|
||||
thread = GSCurrentThread();
|
||||
handler = thread->_exception_handler;
|
||||
if (handler == NULL)
|
||||
|
@ -940,6 +939,7 @@ callUncaughtHandler(id value)
|
|||
thread->_exception_handler = handler->next;
|
||||
handler->exception = self;
|
||||
longjmp(handler->jumpState, 1);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue