diff options
author | Andreas Schwab <schwab@suse.de> | 2018-01-30 10:16:00 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2023-07-03 09:55:43 +0200 |
commit | af130d27099651e0d27b2cf2cfb44dafd6fe8a26 (patch) | |
tree | ed45f2d94abc10fefa5784cf8b6bc9fb8a5b194f /libio/libioP.h | |
parent | 27cb2bb93d611d772621e801bf85c8b2b4c8b598 (diff) | |
download | glibc-af130d27099651e0d27b2cf2cfb44dafd6fe8a26.zip glibc-af130d27099651e0d27b2cf2cfb44dafd6fe8a26.tar.gz glibc-af130d27099651e0d27b2cf2cfb44dafd6fe8a26.tar.bz2 |
Always do locking when accessing streams (bug 15142, bug 14697)
Now that abort no longer calls fflush there is no reason to avoid locking
the stdio streams anywhere. This fixes a conformance issue and potential
heap corruption during exit.
Diffstat (limited to 'libio/libioP.h')
-rw-r--r-- | libio/libioP.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libio/libioP.h b/libio/libioP.h index d777553..745278e 100644 --- a/libio/libioP.h +++ b/libio/libioP.h @@ -537,7 +537,6 @@ extern int _IO_new_do_write (FILE *, const char *, size_t); extern int _IO_old_do_write (FILE *, const char *, size_t); extern int _IO_wdo_write (FILE *, const wchar_t *, size_t); libc_hidden_proto (_IO_wdo_write) -extern int _IO_flush_all_lockp (int); extern int _IO_flush_all (void); libc_hidden_proto (_IO_flush_all) extern void _IO_flush_all_linebuffered (void); |