mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
More code tidyups and NSError updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23921 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0d0ae9d9a8
commit
0ebe68ae48
87 changed files with 746 additions and 539 deletions
|
@ -585,8 +585,7 @@ static void _terminate()
|
|||
#else
|
||||
shouldAbort = NO; // exit() by default.
|
||||
#endif
|
||||
shouldAbort = [_GSPrivate environmentFlag: "CRASH_ON_ABORT"
|
||||
defaultValue: shouldAbort];
|
||||
shouldAbort = GSPrivateEnvironmentFlag("CRASH_ON_ABORT", shouldAbort);
|
||||
if (shouldAbort == YES)
|
||||
{
|
||||
abort();
|
||||
|
@ -601,7 +600,7 @@ static void
|
|||
_NSFoundationUncaughtExceptionHandler (NSException *exception)
|
||||
{
|
||||
fprintf(stderr, "%s: Uncaught exception %s, reason: %s\n",
|
||||
[_GSPrivate argZero],
|
||||
GSPrivateArgZero(),
|
||||
[[exception name] lossyCString], [[exception reason] lossyCString]);
|
||||
fflush(stderr); /* NEEDED UNDER MINGW */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue