From c306892e40e8d5d2e1973a4fbf9d55d3bbc15ddd Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 10 May 2008 17:10:15 +0000 Subject: [PATCH] Fixed my fix. It would always return 1 now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25427 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/libroot/posix/arch/x86/siglongjmp.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/libroot/posix/arch/x86/siglongjmp.S b/src/system/libroot/posix/arch/x86/siglongjmp.S index 8660c140a4..022890131c 100644 --- a/src/system/libroot/posix/arch/x86/siglongjmp.S +++ b/src/system/libroot/posix/arch/x86/siglongjmp.S @@ -21,8 +21,8 @@ FUNCTION(_longjmp): /* If value is 0, setjmp() must return 1. */ test %eax, %eax - mov $1, %eax jnz 1f + mov $1, %eax 1: // restore registers