mirror of
https://github.com/python/cpython.git
synced 2025-11-03 19:34:08 +00:00
whitespace cleanup
This commit is contained in:
parent
7c90a8950a
commit
d65778a9bf
1 changed files with 21 additions and 16 deletions
|
|
@ -19,20 +19,25 @@ extern void __ctordtorTerm (void);
|
||||||
|
|
||||||
unsigned long _DLL_InitTerm (unsigned long mod_handle, unsigned long flag)
|
unsigned long _DLL_InitTerm (unsigned long mod_handle, unsigned long flag)
|
||||||
{
|
{
|
||||||
switch (flag)
|
switch (flag)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
if (_CRT_init ()) return 0;
|
if (_CRT_init ())
|
||||||
__ctordtorInit ();
|
return 0;
|
||||||
/* Ignore fatal signals */
|
__ctordtorInit ();
|
||||||
signal (SIGSEGV, SIG_IGN);
|
|
||||||
signal (SIGFPE, SIG_IGN);
|
/* Ignore fatal signals */
|
||||||
return 1;
|
signal (SIGSEGV, SIG_IGN);
|
||||||
case 1:
|
signal (SIGFPE, SIG_IGN);
|
||||||
__ctordtorTerm ();
|
|
||||||
_CRT_term ();
|
return 1;
|
||||||
return 1;
|
|
||||||
default:
|
case 1:
|
||||||
return 0;
|
__ctordtorTerm ();
|
||||||
}
|
_CRT_term ();
|
||||||
|
return 1;
|
||||||
|
|
||||||
|
default:
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue