Blame SOURCES/glibc-rh751750.patch

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