mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- assertion failures early on during program initialization
should no longer spell big trouble on account of the stdio data structures possibly not being in a well-defined and initialized state. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14893 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: stdlib_main.c,v 1.18 2005-03-19 10:15:56 obarthel Exp $
|
||||
* $Id: stdlib_main.c,v 1.19 2005-03-19 11:06:57 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -117,11 +117,8 @@ call_main(void)
|
||||
complicated than they already are. */
|
||||
__check_abort_enabled = FALSE;
|
||||
|
||||
if(stdout != NULL)
|
||||
fflush(stdout);
|
||||
|
||||
if(stderr != NULL)
|
||||
fflush(stderr);
|
||||
/* Dump all currently unwritten data, especially to the console. */
|
||||
__flush_all_files(-1);
|
||||
|
||||
__show_error("Stack overflow detected");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user