[BusyBox] exit() vs return;
Erik Andersen
andersen at lineo.com
Wed Sep 20 19:54:15 UTC 2000
On Wed Sep 06, 2000 at 05:13:55PM +0200, Jonas Holmberg wrote:
> Hi all, I have built ash with the busybox functions compiled in. This was
> wery easy thanks to the way busybox and ash use argc and argv as parameters
> to all main functions :). But there is one thing giving me an headache: a lot
> of busybox functions use exit(). It would be much easier to use busybox
> functions in another shell if they only used return and not exit(). I do not
> se any other solution than removing as many of the exit()s as possible. Has
> anyone thought of this? Would you be interested in patches if I start
> replacing the exit()s with returns? Some code may have to be restructured to
> make this possible though.
>
I am open to a patch...
-Erik
--
Erik B. Andersen email: andersen at lineo.com
--This message was written using 73% post-consumer electrons--
More information about the busybox
mailing list