mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 09:02:01 +00:00
Remove GSAtExit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16761 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3c80f1943a
commit
225e2431c5
2 changed files with 2 additions and 12 deletions
|
@ -3,6 +3,8 @@
|
||||||
* Version 1.7.0.
|
* Version 1.7.0.
|
||||||
* Documentation/news.texi: Updated.
|
* Documentation/news.texi: Updated.
|
||||||
|
|
||||||
|
* NSObject: Revert last change
|
||||||
|
|
||||||
2003-05-20 David Ayers <d.ayers@inode.at>
|
2003-05-20 David Ayers <d.ayers@inode.at>
|
||||||
|
|
||||||
* Headers/gnustep/base/GSObjCRuntime.h (GSObjCGetMethod(),
|
* Headers/gnustep/base/GSObjCRuntime.h (GSObjCGetMethod(),
|
||||||
|
|
|
@ -57,16 +57,6 @@
|
||||||
extern BOOL __objc_responds_to(id, SEL);
|
extern BOOL __objc_responds_to(id, SEL);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void
|
|
||||||
GSAtExit(void)
|
|
||||||
{
|
|
||||||
int s = 0;
|
|
||||||
|
|
||||||
/* Re-set ALL signals before we exit */
|
|
||||||
for (s = 0; s < NSIG; s++)
|
|
||||||
signal(s, SIG_DFL);
|
|
||||||
}
|
|
||||||
|
|
||||||
#if GS_WITH_GC
|
#if GS_WITH_GC
|
||||||
|
|
||||||
#include <gc.h>
|
#include <gc.h>
|
||||||
|
@ -803,8 +793,6 @@ static BOOL double_release_check_enabled = NO;
|
||||||
GSSetLocaleC(LC_ALL, ""); // Set up locale from environment.
|
GSSetLocaleC(LC_ALL, ""); // Set up locale from environment.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
atexit(GSAtExit);
|
|
||||||
|
|
||||||
// Create the global lock
|
// Create the global lock
|
||||||
gnustep_global_lock = [NSRecursiveLock new];
|
gnustep_global_lock = [NSRecursiveLock new];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue