Valgrind: r16457 - in /trunk: NEWS memcheck/tests/linux/stack_changes.c

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Valgrind: r16457 - in /trunk: NEWS memcheck/tests/linux/stack_changes.c

svn-2
Author: mjw
Date: Thu Jun 29 16:26:30 2017
New Revision: 16457

Log:
memcheck/tests: Use ucontext_t instead of struct ucontext

glibc 2.26 does not expose struct ucontext anymore.

Signed-off-by: Khem Raj <[hidden email]>

Modified:
    trunk/NEWS
    trunk/memcheck/tests/linux/stack_changes.c

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Thu Jun 29 16:26:30 2017
@@ -40,6 +40,7 @@
 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)

Modified: trunk/memcheck/tests/linux/stack_changes.c
==============================================================================
--- trunk/memcheck/tests/linux/stack_changes.c (original)
+++ trunk/memcheck/tests/linux/stack_changes.c Thu Jun 29 16:26:30 2017
@@ -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;


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers
Loading...