]> rtime.felk.cvut.cz Git - frescor/frsh-forb.git/commitdiff
RTEMS: longjump hack to pass compilation needs a fix!
authorPetr Benes <benesp16@fel.cvut.cz>
Sun, 15 May 2011 07:55:10 +0000 (09:55 +0200)
committerPetr Benes <benesp16@fel.cvut.cz>
Sun, 15 May 2011 07:55:10 +0000 (09:55 +0200)
src/fosa/src_rtems/fosa_long_jump.c

index 1474c8c3828a65fd6c7b9438cf86a04a3eeae52d..ace9dfc197e58ec69c09502d7f09dad6a2c46c51 100644 (file)
@@ -146,7 +146,7 @@ int fosa_long_jump_was_performed(const fosa_long_jump_context_t *context,
 void __long_jump_handler(int n, siginfo_t *info, void *c)
 {
        fosa_long_jump_context_t *context =
-               (fosa_long_jump_context_t*) info->si_ptr;
+               (fosa_long_jump_context_t*) c; //FIXME: This is definitely wrong !!!!!
 
        siglongjmp(context->setjmp_context, -1);
 }