This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: first test release for glibc 2.2.3
- To: drepper at cygnus dot com (Ulrich Drepper)
- Subject: Re: first test release for glibc 2.2.3
- From: schwidefsky at de dot ibm dot com
- Date: Wed, 28 Mar 2001 19:15:32 +0200
- cc: GNU libc testers <libc-alpha at sourceware dot cygnus dot com>, VGER gcc list <linux-gcc at vger dot kernel dot org>
>> 2) tst-setcontext. Isn't implemented for s/390 yet. As soon as I got
>> that compiler bug nailed I take a look at it.
>
>This shouldn't produce an error. Why do you get it? The getcontext()
>function should return ENOSYS and this should lead to a nice
>error-free exit.
Checked the test log and found that the compilation of tst-setcontext
failed and not the execution. The reason is a typo: uc_links instead
of uc_link. Here is a patch:
2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
* sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
diff -urN libc/sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h
libc-s390/sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h
--- libc/sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h Fri Mar
16 10:44:33 2001
+++ libc-s390/sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h Wed
Mar 28 19:10:36 2001
@@ -65,7 +65,7 @@
struct ucontext
{
unsigned long int uc_flags;
- struct ucontext *uc_links;
+ struct ucontext *uc_link;
__sigset_t uc_sigmask;
stack_t uc_stack;
mcontext_t uc_mcontext;
diff -urN libc/sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h
libc-s390/sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h
--- libc/sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h Fri Mar
16 10:56:40 2001
+++ libc-s390/sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h Wed
Mar 28 19:10:41 2001
@@ -66,7 +66,7 @@
struct ucontext
{
unsigned long int uc_flags;
- struct ucontext *uc_links;
+ struct ucontext *uc_link;
__sigset_t uc_sigmask;
stack_t uc_stack;
mcontext_t uc_mcontext;
---
blue skies,
Martin
Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com