]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Further un-break signal handling following the merge. It's really
authorJulian Seward <jseward@acm.org>
Sat, 12 Mar 2005 17:24:33 +0000 (17:24 +0000)
committerJulian Seward <jseward@acm.org>
Sat, 12 Mar 2005 17:24:33 +0000 (17:24 +0000)
scandalous how difficult it is to figure out what code messes with
what global state, and generally how stuff is supposed to work.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3307

coregrind/x86-linux/syscalls.c

index 9071231d8649bc4fc1fb2f5e16c3c1632970c1c8..e32bca62ff1a4af726e11c995fb9a49b9db9f66b 100644 (file)
@@ -576,7 +576,7 @@ PRE(sys_sigreturn, Special)
    VG_(poll_signals)(tid);
 
    /* placate return-must-be-set assertion */
-   SET_RESULT(0);
+   SET_RESULT(RES);
 }
 
 PRE(sys_modify_ldt, Special)