summaryrefslogtreecommitdiff
path: root/recipes/eglibc/files
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2009-10-30 22:59:52 +0100
committerStefan Schmidt <stefan@datenfreihafen.org>2009-10-30 22:59:52 +0100
commitb0ab0545bf361b06d7a22d5106508df299d4ddf3 (patch)
tree088fcb4bd290e242b06b6522cc399b4923643e9d /recipes/eglibc/files
parentab3568778b3617ce15811c0004d96a6bc3323bd6 (diff)
parent2ec047c78aea8d59e538d826d0c0187ca54e214d (diff)
Merge branch 'org.openembedded.dev' of git.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/eglibc/files')
-rw-r--r--recipes/eglibc/files/IO-acquire-lock-fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/eglibc/files/IO-acquire-lock-fix.patch b/recipes/eglibc/files/IO-acquire-lock-fix.patch
new file mode 100644
index 0000000000..4d3e0613b1
--- /dev/null
+++ b/recipes/eglibc/files/IO-acquire-lock-fix.patch
@@ -0,0 +1,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)