From ef634a94c7126bcd6ac02de495b598fb99ac544d Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 13 Apr 2010 07:13:00 -0700 Subject: 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 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 606bc229cc..be0dd16054 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-04-12 Andreas Schwab + + * stdlib/tst-makecontext3.c (main): Initialize ucontext_t objects + only with getcontext. Test for unimplemented makecontext by + checking errno. + 2010-04-09 Ulrich Drepper * nscd/aicache.c (addhstaiX): Correct passing memory to address -- cgit v1.2.3