mirror of
https://sourceware.org/git/glibc.git
synced 2025-04-28 10:05:08 +03:00
* stdlib/tst-setcontext.c: Set back_in_main before exit if
getcontext returns ENOSYS.
This commit is contained in:
parent
99ae13c825
commit
cefa2dd3fe
@ -1,3 +1,8 @@
|
|||||||
|
2008-06-17 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* stdlib/tst-setcontext.c: Set back_in_main before exit if
|
||||||
|
getcontext returns ENOSYS.
|
||||||
|
|
||||||
2008-06-18 Ulrich Drepper <drepper@redhat.com>
|
2008-06-18 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* nscd/connections.c (main_loop_poll): Fix test for read error.
|
* nscd/connections.c (main_loop_poll): Fix test for read error.
|
||||||
|
@ -150,7 +150,10 @@ main (void)
|
|||||||
if (getcontext (&ctx[1]) != 0)
|
if (getcontext (&ctx[1]) != 0)
|
||||||
{
|
{
|
||||||
if (errno == ENOSYS)
|
if (errno == ENOSYS)
|
||||||
exit (0);
|
{
|
||||||
|
back_in_main = 1;
|
||||||
|
exit (0);
|
||||||
|
}
|
||||||
|
|
||||||
printf ("%s: getcontext: %m\n", __FUNCTION__);
|
printf ("%s: getcontext: %m\n", __FUNCTION__);
|
||||||
exit (1);
|
exit (1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user