[PATCH Newlib]Call _fflush_r instead of _fclose_r when cleanup if --enable-lite-exit is in effect
Fri Sep 5 09:42:00 GMT 2014
On Sep 5 11:33, Bin Cheng wrote:
> 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?
> 2014-09-05 Bin Cheng <...>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the Newlib