diff options
author | Andreas Schwab <schwab@redhat.com> | 2010-04-13 07:13:00 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-04-13 07:13:00 -0700 |
commit | ef634a94c7126bcd6ac02de495b598fb99ac544d (patch) | |
tree | 4eafe6664d2bdb1bc1e2582e8b642d026e61e49a /ChangeLog | |
parent | ea42a20caed5b343ff20a0d4622ae6c17b77161b (diff) | |
download | glibc-ef634a94c7126bcd6ac02de495b598fb99ac544d.zip glibc-ef634a94c7126bcd6ac02de495b598fb99ac544d.tar.gz glibc-ef634a94c7126bcd6ac02de495b598fb99ac544d.tar.bz2 |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2010-04-12 Andreas Schwab <schwab@redhat.com> + + * stdlib/tst-makecontext3.c (main): Initialize ucontext_t objects + only with getcontext. Test for unimplemented makecontext by + checking errno. + 2010-04-09 Ulrich Drepper <drepper@redhat.com> * nscd/aicache.c (addhstaiX): Correct passing memory to address |