Bug in printf applet?

Denis Vlasenko vda.linux at googlemail.com
Fri Mar 9 09:26:49 PST 2007


On Friday 09 March 2007 11:21, Alberto Donato wrote:
> Hello,
>    I recently upgraded to busybox 1.4.1 (was previously using 1.2.2.1)
> and found a different behaviour in printf applet.
> It seems to no longer understand hex parameters in input.
> 
> Here is a sample output of the two releases:
> 
> $ busybox-1.2.2.1/busybox printf "%03d\n" 0x11
> 017
> 
> $ busybox-1.4.1/busybox printf "%03d\n" 0x11
> 0x11-01
> 
> With other input formats it all seems to work fine.

Octal is also broken, I suppose.

Fixed in svn, thanks!
--
vda


More information about the busybox mailing list