diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2012-07-17 10:05:55 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2012-07-17 10:05:55 +0200 |
commit | dc97c227c95dd521594f1eaa472399b9fba03b2a (patch) | |
tree | f2bc659c7c01a07c39d2b28dee3a8c0744926ffd /stdlib | |
parent | aaf5420c6d1d2f0135a89d08f22200f0dc0777bd (diff) | |
download | glibc-dc97c227c95dd521594f1eaa472399b9fba03b2a.tar.gz |
setcontext: Clarify termination when uc_link is the null pointer.
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/tst-makecontext.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/stdlib/tst-makecontext.c b/stdlib/tst-makecontext.c index 31859007d0..eb6e89bda8 100644 --- a/stdlib/tst-makecontext.c +++ b/stdlib/tst-makecontext.c @@ -35,7 +35,9 @@ cf (int i) printf ("i %d thr %d\n", i, thr); exit (1); } - exit (0); + + /* Since uc_link below has been set to NULL, setcontext is supposed to + terminate the process normally after this function returns. */ } int |