newlib-nano-1.0 icon indicating copy to clipboard operation
newlib-nano-1.0 copied to clipboard

putchar not initializing _REENT struct

Open gfa- opened this issue 11 years ago • 0 comments

The putchar macro is not calling the __sinit() function. If putchar is called before any call to stdio function calling __sinit() (like printf()) ; putchar attemps to write into the const struct __sf_fake_stdout.

gfa- avatar Jun 10 '13 20:06 gfa-