[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] uClibc ctrl+c problem
From:       Giulio Orsero <giulioo () pobox ! com>
Date:       2002-01-28 6:40:04
[Download RAW message or body]

On Mon, 28 Jan 2002 13:05:20 +0100, Axel Barnitzke <barney@xkontor.com>
wrote:

>Sorry about posting this to busybox, but I can't reach
>the uClibc list :-(
>I had the same problem with all applets which call longjump.

>I installed the following hack in uClibc/include/setjmp.h because
>under uClibc setjmp indeed is a synonym for sigsetjmp(env,0)
>--- setjmp.h.orig       Fri Jan 25 21:03:10 2002
>+++ setjmp.h    Fri Jan 25 21:21:33 2002
>@@ -59,14 +59,14 @@
> #ifndef        __FAVOR_BSD
>  /* Do not save the signal mask.  This is equivalent to the `_setjmp'
>     BSD function.  */
>-# define setjmp(env)   _setjmp (env)
>+/**@@hack # define setjmp(env) _setjmp (env)**/
>+# define setjmp(env)   __sigsetjmp (env,0)

I tried this patch and now the problem I had with ash and ctrl+c is gone.
Thanks.

-- 
giulioo@pobox.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic