blob: a552cf0d1f4741d31940cfa73adcfce5efc63012 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Arm needs a similar fix as http://sourceware.org/ml/libc-ports/2007-12/msg00000.html
--- /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)
|