]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
memcheck/tests: Use ucontext_t instead of struct ucontext
authorMark Wielaard <mark@klomp.org>
Thu, 29 Jun 2017 15:26:30 +0000 (15:26 +0000)
committerMark Wielaard <mark@klomp.org>
Thu, 29 Jun 2017 15:26:30 +0000 (15:26 +0000)
glibc 2.26 does not expose struct ucontext anymore.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16457

NEWS
memcheck/tests/linux/stack_changes.c

diff --git a/NEWS b/NEWS
index 7ab455aed8fa8eabf74ed7801edc472e74f303ea..dd1833a01b13f29b501c537f7088f50c2355971d 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -40,6 +40,7 @@ where XXXXXX is the bug number as listed below.
 381272  ppc64 doesn't compile test_isa_2_06_partx.c without VSX support
 381289  epoll_pwait can have a NULL sigmask
 381274  powerpc too chatty even with --sigill-diagnostics=no
+381769  Use ucontext_t instead of struct ucontext
 
 
 Release 3.13.0 (15 June 2017)
index a978fc2b0f3e1fe3b5348d3af44e6bd2b740e3fe..7f97b90a501ff5841be059e495797f00eb5a7831 100644 (file)
@@ -10,7 +10,7 @@
 // This test is checking the libc context calls (setcontext, etc.) and
 // checks that Valgrind notices their stack changes properly.
 
-typedef  struct ucontext  mycontext;
+typedef  ucontext_t  mycontext;
 
 mycontext ctx1, ctx2, oldc;
 int count;