This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
[PATCH]: (1/2) Fix generic bits/stdio-lock.h
- From: Kristian Van Der Vliet <vanders at liqwyd dot com>
- To: libc-ports at sourceware dot org
- Date: Mon, 03 Dec 2007 19:48:49 +0000
- Subject: [PATCH]: (1/2) Fix generic bits/stdio-lock.h
I've just finished updating our Syllable port to Glibc 2.7 and found a
few errors in some of the generic implementations.
2007-12-03 Kristian Van Der Vliet <vanders@liqwyd.com>
* bits/stdio-lock.h (_IO_acquire_lock_clear_flags2): Define
--
Vanders
http://www.syllable.org
http://www.liqwyd.com
? stdio-lock.patch
Index: stdio-lock.h
===================================================================
RCS file: /cvs/glibc/libc/bits/stdio-lock.h,v
retrieving revision 1.8
diff -u -r1.8 stdio-lock.h
--- stdio-lock.h 29 Aug 2003 19:56:11 -0000 1.8
+++ stdio-lock.h 3 Dec 2007 19:34:03 -0000
@@ -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)