aboutsummaryrefslogtreecommitdiff
path: root/winsup/doc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2023-11-17 17:00:54 +0100
committerCorinna Vinschen <corinna@vinschen.de>2023-11-17 17:09:42 +0100
commit6ccbfe6a3d8a2aedb2c6f80bcc03bf946acc1b6c (patch)
tree3c4ebc0b4bbe0a85f6957fb3276254356cdc212c /winsup/doc
parent61ccd3f94f92bcfc0940f0595ea5b3b72bce3c6d (diff)
downloadnewlib-6ccbfe6a3d8a2aedb2c6f80bcc03bf946acc1b6c.zip
newlib-6ccbfe6a3d8a2aedb2c6f80bcc03bf946acc1b6c.tar.gz
newlib-6ccbfe6a3d8a2aedb2c6f80bcc03bf946acc1b6c.tar.bz2
__sfvwrite_r: call __sputc_r rather than putc in __SCLE case
__sfvwrite_r is called under lock. There's no reason to call putc, locking the file recursively. Add a comment that locking is required when calling __sfvwrite_r. Fixes: 49d64538cd20 ("* libc/include/stdio.h (FILE): define __SCLE for "convert line endings" for Cygwin.") Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/doc')
0 files changed, 0 insertions, 0 deletions