[PATCH Newlib]Call _fflush_r instead of _fclose_r when cleanup if --enable-lite-exit is in effect

Corinna Vinschen vinschen@redhat.com
Fri Sep 5 09:42:00 GMT 2014


On Sep  5 11:33, Bin Cheng wrote:
> Hi,
> Currently there is a FIXME in _cleanup_r in newlib, saying we may want to
> call _fflush_r instead of _fclose_r.  This patch fixes the problem by using
> --enable-lite-exit.  It makes sense to call light weight function _fflush_r
> when lite exit is in effect.
> 
> Build and link with/without --enable-lite-exit.  Is it OK?
> 
> Thanks,
> bin
> 
> 2014-09-05  Bin Cheng  <...>

Applied.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20140905/f982e95f/attachment.sig>


More information about the Newlib mailing list