This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
sysdeps/mach/hurd/bits/libc-lock.h, smallish error...
- From: "Alfred M. Szmidt" <ams at kemisten dot nu>
- To: libc-alpha at sources dot redhat dot com
- Date: Sun, 28 Sep 2003 11:14:07 +0200 (MEST)
- Subject: sysdeps/mach/hurd/bits/libc-lock.h, smallish error...
This fixes the following error...
i386-unknown-gnu0.3-gcc scandir.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -Wno-parentheses -mpreferred-stack-boundary=2 -fexceptions -mpreferred-stack-boundary=4 -I../include -I. -I/share/cross/libc/dirent -I.. -I../libio -I../hurd -I/share/cross/libc/hurd/ -I../mach -I/share/cross/libc/mach/ -I/share/cross/libc -I../sysdeps/i386/elf -I../sysdeps/mach/hurd/i386 -I../sysdeps/mach/hurd -I../sysdeps/gnu -I../sysdeps/unix/bsd/bsd4.4 -I../sysdeps/unix/mman -I../sysdeps/mach/i386 -I../sysdeps/mach -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/unix/bsd -I../sysdeps/unix/common -I../sysdeps/unix/inet -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /share/cross/libc/dirent/scandir.o -MD -MP -MF /share/cross/libc/dirent/!
scandir.o.dt
scandir.c: In function `scandir':
scandir.c:149: parse error at end of input
2003-09-28 Alfred M. Szmidt <ams@kemisten.nu>
* sysdeps/mach/hurd/bits/libc-lock.h (__libc_cleanup_pop):
Redefine and use __libc_cleanup_region_end instead.
Index: sysdeps/mach/hurd/bits/libc-lock.h
--- sysdeps/mach/hurd/bits/libc-lock.h
+++ sysdeps/mach/hurd/bits/libc-lock.h
@@ -160,7 +160,7 @@
(*__save_FCT)(__save_ARG); \
#define __libc_cleanup_push(fct, arg) __libc_cleanup_region_start (1, fct, arg)
-#define __libc_cleanup_pop(execute) __libc_cleanup_end (execute)
+#define __libc_cleanup_pop(execute) __libc_cleanup_region_end (execute)
#if (_CTHREADS_ - 0)