]> sourceware.org Git - glibc.git/commitdiff
* stdlib/tst-setcontext.c: Set back_in_main before exit if
authorUlrich Drepper <drepper@redhat.com>
Wed, 25 Jun 2008 17:59:16 +0000 (17:59 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 25 Jun 2008 17:59:16 +0000 (17:59 +0000)
getcontext returns ENOSYS.

ChangeLog
stdlib/tst-setcontext.c

index c0dcf2de385661cd8da18bbb9a6e9312591467cf..cb8da187b8128a175e260136f0c9aebf68d985a5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * nscd/connections.c (main_loop_poll): Fix test for read error.
index beec23a6860389ffc5a656c5a69c2dd3506fd2bc..51296f74ab4a85eb17d3cfbf228a5a69bf0ee6e8 100644 (file)
@@ -150,7 +150,10 @@ main (void)
   if (getcontext (&ctx[1]) != 0)
     {
       if (errno == ENOSYS)
-       exit (0);
+       {
+         back_in_main = 1;
+         exit (0);
+       }
 
       printf ("%s: getcontext: %m\n", __FUNCTION__);
       exit (1);
This page took 0.045198 seconds and 5 git commands to generate.