1 commit 7583a88d1c7170caad26966bcea8bfc2c92093ba
2 Author: Andreas Schwab <schwab@redhat.com>
3 Date: Mon Nov 7 15:07:31 2011 +0100
5 Fix locking in _IO_flush_all_lockp
7 diff --git a/libio/genops.c b/libio/genops.c
8 index 5d21c42..bb40c34 100644
11 @@ -826,7 +826,7 @@ _IO_flush_all_lockp (int do_lock)
15 - _IO_cleanup_region_start_noarg (flush_cleanup);
16 + __libc_cleanup_region_start (do_lock, flush_cleanup, 0);
18 _IO_lock_lock (list_all_lock);
20 @@ -866,7 +866,7 @@ _IO_flush_all_lockp (int do_lock)
23 _IO_lock_unlock (list_all_lock);
24 - _IO_cleanup_region_end (0);
25 + __libc_cleanup_region_end (0);