[PATCH v3 3/5] Introduce _REENT_GLOBAL_STDIO_STREAMS

Sebastian Huber sebastian.huber@embedded-brains.de
Fri Jun 30 05:43:00 GMT 2017


On 29/06/17 20:31, Corinna Vinschen wrote:

> And, JFYI, Cygwin will start to use it too after the next release:)

There are some new problems with this change. We have no reference 
counting in the FILE objects, so a freopen(..., stdin), closes the 
global stdin FILE object (__sf[0]), etc. What works is a stdin = 
fopen(). I guess this could break existing applications.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the Newlib mailing list