[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r6383 - in /branches/eglibc-2_8/libc: ChangeLog.eglibc stdlib/tst-setcontext.c
- To: commits@xxxxxxxxxx
- Subject: [commits] r6383 - in /branches/eglibc-2_8/libc: ChangeLog.eglibc stdlib/tst-setcontext.c
- From: joseph@xxxxxxxxxx
- Date: Tue, 17 Jun 2008 18:53:25 -0000
Author: joseph
Date: Tue Jun 17 11:53:25 2008
New Revision: 6383
Log:
* stdlib/tst-setcontext.c: Set back_in_main before exit if
getcontext returns ENOSYS.
Modified:
branches/eglibc-2_8/libc/ChangeLog.eglibc
branches/eglibc-2_8/libc/stdlib/tst-setcontext.c
Modified: branches/eglibc-2_8/libc/ChangeLog.eglibc
==============================================================================
--- branches/eglibc-2_8/libc/ChangeLog.eglibc (original)
+++ branches/eglibc-2_8/libc/ChangeLog.eglibc Tue Jun 17 11:53:25 2008
@@ -1,3 +1,8 @@
+2008-06-17 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * stdlib/tst-setcontext.c: Set back_in_main before exit if
+ getcontext returns ENOSYS.
+
2008-05-15 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
* posix/globtest.sh: Set HOME with env on test target system.
Modified: branches/eglibc-2_8/libc/stdlib/tst-setcontext.c
==============================================================================
--- branches/eglibc-2_8/libc/stdlib/tst-setcontext.c (original)
+++ branches/eglibc-2_8/libc/stdlib/tst-setcontext.c Tue Jun 17 11:53:25 2008
@@ -149,7 +149,10 @@
if (getcontext (&ctx[1]) != 0)
{
if (errno == ENOSYS)
- exit (0);
+ {
+ back_in_main = 1;
+ exit (0);
+ }
printf ("%s: getcontext: %m\n", __FUNCTION__);
exit (1);