Blame SOURCES/glibc-rh751750.patch

b40826
commit 7583a88d1c7170caad26966bcea8bfc2c92093ba
b40826
Author: Andreas Schwab <schwab@redhat.com>
b40826
Date:   Mon Nov 7 15:07:31 2011 +0100
b40826
b40826
    Fix locking in _IO_flush_all_lockp
b40826
b40826
diff --git a/libio/genops.c b/libio/genops.c
b40826
index 5d21c42..bb40c34 100644
b40826
--- a/libio/genops.c
b40826
+++ b/libio/genops.c
b40826
@@ -826,7 +826,7 @@ _IO_flush_all_lockp (int do_lock)
b40826
   int last_stamp;
b40826
 
b40826
 #ifdef _IO_MTSAFE_IO
b40826
-  _IO_cleanup_region_start_noarg (flush_cleanup);
b40826
+  __libc_cleanup_region_start (do_lock, flush_cleanup, 0);
b40826
   if (do_lock)
b40826
     _IO_lock_lock (list_all_lock);
b40826
 #endif
b40826
@@ -866,7 +866,7 @@ _IO_flush_all_lockp (int do_lock)
b40826
 #ifdef _IO_MTSAFE_IO
b40826
   if (do_lock)
b40826
     _IO_lock_unlock (list_all_lock);
b40826
-  _IO_cleanup_region_end (0);
b40826
+  __libc_cleanup_region_end (0);
b40826
 #endif
b40826
 
b40826
   return result;