mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Update.
* sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Correct test for cmsg struct size. * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Likewise. * sysdeps/unix/sysv/linux/i386/makecontext.S: Remove unnecessary initializations. * libio/oldiopopen.c: Add lock for old_proc_file_chain access.
This commit is contained in:
@ -28,6 +28,12 @@ threadfct (void *arg)
|
||||
{
|
||||
int n = (int) (long int) arg;
|
||||
|
||||
if (getcontext (&ctx[n][1]) != 0)
|
||||
{
|
||||
printf ("%d: cannot get context: %m\n", n);
|
||||
exit (1);
|
||||
}
|
||||
|
||||
printf ("%d: %s: before makecontext\n", n, __FUNCTION__);
|
||||
|
||||
ctx[n][1].uc_stack.ss_sp = stacks[n];
|
||||
|
Reference in New Issue
Block a user