aboutsummaryrefslogtreecommitdiff
path: root/libio/libioP.h
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2018-01-30 10:16:00 +0100
committerAndreas Schwab <schwab@suse.de>2023-07-03 09:55:43 +0200
commitaf130d27099651e0d27b2cf2cfb44dafd6fe8a26 (patch)
treeed45f2d94abc10fefa5784cf8b6bc9fb8a5b194f /libio/libioP.h
parent27cb2bb93d611d772621e801bf85c8b2b4c8b598 (diff)
downloadglibc-af130d27099651e0d27b2cf2cfb44dafd6fe8a26.tar
glibc-af130d27099651e0d27b2cf2cfb44dafd6fe8a26.tar.gz
glibc-af130d27099651e0d27b2cf2cfb44dafd6fe8a26.tar.bz2
glibc-af130d27099651e0d27b2cf2cfb44dafd6fe8a26.zip
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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libio/libioP.h b/libio/libioP.h
index d777553cb0..745278e076 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);