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:
CaS 2005-11-15 13:07:09 +00:00
parent d3dbf0c0b1
commit 15de84b232
7 changed files with 153 additions and 165 deletions

View file

@ -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();