mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Try reversion again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22017 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d3dbf0c0b1
commit
15de84b232
7 changed files with 153 additions and 165 deletions
|
@ -31,7 +31,6 @@
|
|||
#include "Foundation/NSCoder.h"
|
||||
#include "Foundation/NSThread.h"
|
||||
#include "Foundation/NSDictionary.h"
|
||||
#include "Foundation/NSProcessInfo.h"
|
||||
#include <stdio.h>
|
||||
|
||||
/**
|
||||
|
@ -89,8 +88,7 @@ static void _terminate()
|
|||
#else
|
||||
shouldAbort = NO; // exit() by default.
|
||||
#endif
|
||||
shouldAbort = [[[[NSProcessInfo processInfo] environment]
|
||||
objectForKey: @"CRASH_ON_ABORT"] boolValue];
|
||||
shouldAbort = GSEnvironmentFlag("CRASH_ON_ABORT", shouldAbort);
|
||||
if (shouldAbort == YES)
|
||||
{
|
||||
abort();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue