[BusyBox] Can init reread inittab?
Axel Barnitzke
barney at xkontor.com
Mon Jan 28 05:08:11 UTC 2002
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.
After sticking in the uClib sources (trying out some code
from dietlib ;-) I gave up on setjmp which has a strange
SP behavior. (May be I'm not clever enought for this ;-)
I installed the following hack in uClibc/include/setjmp.h because
under uClibc setjmp indeed is a synonym for sigsetjmp(env,0)
Now everything (I tested) works as expected...
--- 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)
#else
/* We are in 4.3 BSD-compatibility mode in which `setjmp'
saves the signal mask like `sigsetjmp (ENV, 1)'. We have to
define a macro since ISO C says `setjmp' is one. */
# define setjmp(env) setjmp (env)
Erik Andersen wrote:
> On Sat Jan 26, 2002 at 09:25:42AM +0100, Giulio Orsero wrote:
>
>>ps:
>>have you had time to see if the ctrl+c problem is due to busybox or
>>September uClibc, see:
>>http://www.uclibc.org/lists/uclibc/2002-January/004702.html
>>
>
> Not yet. I was sick most of this week and got almost nothing
> useful done. :(
Ouch -- here it seems everybody is sick too :-(
-- Barney
--------------------------------------
++ axel (barney) barnitzke
++ it consultant
++ xkontor IT solutions
email :: mailto:barney at xkontor.com
More information about the busybox
mailing list