[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: abort and stderr
From: |
Eric Blake |
Subject: |
Re: abort and stderr |
Date: |
Fri, 11 Apr 2008 16:18:25 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Bruno Haible <bruno <at> clisp.org> writes:
> Yes, we need line numbers before we can do anything about it.
>
>
> Since POSIX [1] now says that abort() *MAY* flush the stdio streams (not
> *SHOULD* any more!), we need to flush it ourselves.
Even POSIX 2008 states only this (remembering that fclose implies fflush):
The abnormal termination processing shall include the default actions defined
for SIGABRT and may include an attempt to effect fclose( ) on all open streams.
in a CX shaded paragraph, which means C99 doesn't require it. So your patch is
correct.
>
> I applied this patch.
Thanks. I tweaked the ChangeLog to mention that it is also required on mingw.
--
Eric Blake
- Re: Working os/2 configuratie, (continued)