[BusyBox] for loop crash
Erik Andersen
andersen at codepoet.org
Mon Aug 20 10:40:46 UTC 2001
On Mon Aug 20, 2001 at 06:52:17PM +0400, Vladimir N. Oleynik wrote:
>
> But:
> msh$ i=`cat list.txt`
> also exit normaly...
>
> What I was surprise, when I have not found in msh fork()! Probably it
> will be very hard to find such mistake there, where 'cmd' it is
> realized without fork() though exit it is caused! I in confusion.
> Whether the piece from the original version with a call fork() is
> missed in busibox?
This is by design, not a mistake. The busybox msh variant is designed
to use vfork instead of fork. This allows msh to run on uClinux
systems. uClinux (linux for mmu-less CPUs) due to hardware limitations,
can not implement fork and so uses vfork instead.
-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