[BusyBox] Patch: sh.c running internal commands

Erik Andersen andersen at lineo.com
Fri Jul 28 15:10:16 UTC 2000


On Fri Jul 28, 2000 at 09:43:15AM -0500, Ken Chalmers wrote:
> When sh.c runs an internal BusyBox command, it doesn't set applet_name
> up properly.  This causes applets that depend on their name (e.g.
> cp_mv.c, gunzip.c, chmod_chown_chgrp.c) to behave incorrectly.
> Attached is a simple one-line patch that fixes the problem.
> 
> 	-Ken
> 

I actually found that one last night as well (sh.c has been under heavy
construction -- I now have if-then-else-fi basically working, and I switched
the parser to using getopt) , but I've been on my laptop so I havn't gotten
that one into CVS yet.  I'll checkin my work now, and then start integrating
the rest of yesterdays patches.

Thanks for your help,

 -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