[Toybox] 0.4.1 is out.

Rob Landley rob at landley.net
Wed Nov 14 17:47:37 PST 2012


Release notes are on the website, and this time I remembered to build  
the static binaries.

This release was a giant backlog-clearing exercise. Aboriginal Linux is  
now converted over to build toybox by default, so I've got a built in  
regression test that I can plug each new version of toybox into to test  
on multiple architectures. I needed to do a known-good version that I  
could bisect regressions against, and that was this.

Right after the release I checked in the giant reindentation of all the  
files. (Yes it screws up "git annotate" but doing it as a series of  
commits wouldn't have improved that. Rip the band-aid off in one go,  
jump ito the cold water, etc.)

The new coding style is "two spaces per indent", and if you can't  
handle that you can convert your local copy back and forth with sed:

   Sed invocation to convert leading tabs to two spaces:
   sed -i ':loop;s/^\( *\)\t/\1  /;t loop' filename

   Sed invocation to convert pairs of leading spaces to tabs:
   sed -i ':loop;s/^\( *\)  /\1\t/;t loop' filename

But mostly, it's just whitespace and the old stuff wasn't remotely  
consistent.

(The "tabs interpreted as four spaces" thing was what I got into the  
habit of with busybox, and then tinycc was four _actual_ spaces, and  
when in a hurry I reverted back to the "two spaces" thing is a  
self-taught idiosyncrasy I've been doing since 1990 which is easiest  
for _me_ to read, and since it's my project...)

Rob


More information about the Toybox mailing list