generic-poky/meta/recipes-core/glibc/glibc-2.10.1/glibc-arm-IO-acquire-lock-f...

16 lines
586 B
Diff

Arm needs a similar fix as http://sourceware.org/ml/libc-ports/2007-12/msg00000.html
Upstream-Status: Inappropriate [not used]
--- /tmp/stdio-lock.h 2008-03-04 18:51:15.555038993 +0100
+++ glibc-2.7/ports/sysdeps/unix/sysv/linux/arm/bits/stdio-lock.h 2008-03-04 18:51:28.445035052 +0100
@@ -50,6 +50,8 @@
_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)