This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: first test release for glibc 2.2.3




>> 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]