summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-2.12/IO-acquire-lock-fix.patch
blob: 4d3e0613b17d64cdd9d684825b5e942806f43211 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import http://sourceware.org/ml/libc-ports/2007-12/msg00000.html

Index: libc/bits/stdio-lock.h
===================================================================
--- libc.orig/bits/stdio-lock.h	2009-10-28 14:34:19.000000000 -0700
+++ libc/bits/stdio-lock.h	2009-10-28 14:34:54.000000000 -0700
@@ -50,6 +50,8 @@ __libc_lock_define_recursive (typedef, _
   _IO_cleanup_region_start ((void (*) (void *)) _IO_funlockfile, (_fp));      \
   _IO_flockfile (_fp)
 
+# define _IO_acquire_lock_clear_flags2(_fp) _IO_acquire_lock (_fp)
+
 # define _IO_release_lock(_fp) \
   _IO_funlockfile (_fp);						      \
   _IO_cleanup_region_end (0)
OpenPOWER on IntegriCloud