Bug in s/390 user context code.
schwidefsky@de.ibm.com
schwidefsky@de.ibm.com
Tue Apr 10 04:54:00 GMT 2001
Hi,
I just finished testing glibc-2.2.3pre2 and "make tests" reported
one problem. getcontext, setcontext and swapcontext did not return
the correct values. I append a patch for this problem.
2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
value of getcontext.
* sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
value of setcontext.
* sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
call by changing the saved context.
(See attached file: contextbug.diff)
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: contextbug.diff
Type: text/x-diff
Size: 3839 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20010410/9a903eeb/attachment.bin>
More information about the Libc-hacker
mailing list