Fix use of ucontext_t objects in tst-makecontext3
commitef634a94c7126bcd6ac02de495b598fb99ac544d
authorAndreas Schwab <schwab@redhat.com>
Tue, 13 Apr 2010 14:13:00 +0000 (13 07:13 -0700)
committerUlrich Drepper <drepper@redhat.com>
Tue, 13 Apr 2010 14:13:00 +0000 (13 07:13 -0700)
tree4eafe6664d2bdb1bc1e2582e8b642d026e61e49a
parentea42a20caed5b343ff20a0d4622ae6c17b77161b
Fix use of ucontext_t objects in tst-makecontext3

Objects of type ucontext_t cannot be copied, only getcontext can
properly initialize them.  For example, on powerpc the structure
contains a pointer into itself, so makecontext modifies the original
object by side effect.
ChangeLog
stdlib/tst-makecontext3.c