]> sourceware.org Git - newlib-cygwin.git/commit
Fix _REENT_EMERGENCY() if TLS is enabled
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Wed, 26 Apr 2023 06:23:04 +0000 (08:23 +0200)
committerSebastian Huber <sebastian.huber@embedded-brains.de>
Wed, 26 Apr 2023 06:23:04 +0000 (08:23 +0200)
commite301a74a6f111df4553b50b813a589589d1708b1
tree4371ca8a7dd510c764c4c30219832b3a6b9980d6
parentc3798a2f7ddaedd91d5ea76a8adc5a4ee652cffd
Fix _REENT_EMERGENCY() if TLS is enabled

If the thread-local storage (TLS) support was enabled, the _REENT_EMERGENCY()
object had the wrong size.  It must be a buffer of length _REENT_EMERGENCY_SIZE
and not just a single character.
newlib/libc/include/sys/reent.h
newlib/libc/stdio/tmpnam.c
This page took 0.030424 seconds and 5 git commands to generate.