1
0
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:
Olaf Barthel
2005-03-19 11:06:57 +00:00
parent 7d3ea7fae6
commit cd10dc9a1a
10 changed files with 180 additions and 47 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: stdlib_termination_message.c,v 1.4 2005-01-09 10:10:41 obarthel Exp $
* $Id: stdlib_termination_message.c,v 1.5 2005-03-19 11:06:57 obarthel Exp $
*
* :ts=4
*
@ -54,7 +54,7 @@ __print_termination_message(const char * termination_message)
{
termination_message_printed = TRUE;
if(NOT __no_standard_io)
if(NOT __no_standard_io && __num_iob > STDERR_FILENO)
{
fputs((termination_message != NULL) ? termination_message : "Abnormal program termination",stderr);