Toybox patch for busybox.

Rob Landley rob at landley.net
Thu Aug 12 06:26:19 UTC 2010


So I was poking at porting this to BusyBox, and I see you've already done 2/3 
of the work.

This is the only toybox app I still maintain because I use it in aboriginal 
LInux (the alternative is gnu patch), and it keeps #*%(&#% breaking every few 
months as I apply new random patches and discover yet another insane corner 
case in gnu diff.

Speaking of which,

1) How do I make it actually work in busybox?  (The FAQ hasn't been updated 
for the new inline stuff yet.)

2) Does BusyBox currently have any equivalent for the streaming infrastructure 
and such?  (The library stuff has been copied, not converted.  I dunno what's 
available these days, I'm ~4 years out of date.)

3) you may want these patches:


http://landley.net/hg/toybox/rev/362
http://landley.net/hg/toybox/rev/375

And optionally some debug crap:
http://landley.net/hg/toybox/rev/376

And then two _more_ patches are attached which apply after those, I never 
checked them into the toybox repo (I'm applying from the aboriginal patch list 
instead) because cutting a new toybox release seems kinda pointless.

I'm also working on a patch to implement -l support (squash whitespace) if 
you're interested.  And at some point I should do fuzz factor support, and 
better error reporting.  And add a CONFIG symbol to chop out most of the 
command line options...

Rob
-- 
GPLv3: as worthy a successor as The Phantom Menace, as timely as Duke Nukem 
Forever, and as welcome as New Coke.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: toybox-patch.patch
Type: text/x-patch
Size: 358 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20100812/77ea4ab7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: toybox-patch2.patch
Type: text/x-patch
Size: 1617 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20100812/77ea4ab7/attachment-0001.bin>


More information about the busybox mailing list