Blame SOURCES/glibc-rh751750.patch

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