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 | m68k: add support for {get,make,set,swap}context (diff) | |
download | glibc-dc97c227c95dd521594f1eaa472399b9fba03b2a.tar.gz glibc-dc97c227c95dd521594f1eaa472399b9fba03b2a.tar.bz2 glibc-dc97c227c95dd521594f1eaa472399b9fba03b2a.zip |
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 |