[PATCH] abort: Only flush file-based stdio streams before termination

Carlos O'Donell carlos@redhat.com
Fri Aug 18 14:25:00 GMT 2017


On 08/18/2017 10:11 AM, Florian Weimer wrote:
> On 08/18/2017 03:45 PM, Carlos O'Donell wrote:
> 
>> Do we have a technical objection to flushing the open memory streams?
> 
> abort needs to be async-signal-safe and our current implementation of
> open_memstream allocates on flush, for example if exactly 8192 bytes
> have been written:

Thank you for checking this.

Adhemerval, Is there any way to remove the allocation on flush?

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list