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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user