ash: printf problem interpreting octal escape sequences

Denys Vlasenko vda.linux at googlemail.com
Wed Mar 7 10:57:18 UTC 2012


On Tue, Mar 6, 2012 at 7:50 PM, Alexander Kriegisch <kriegaex at freetz.org> wrote:
> Sorry for pushing this, but there has been traffic on the list, but no
> reaction to my inquiry. If I was unclear of information is missing,
> please let me know.

You should not be sorry. It's standard practice to ping
when no reply is received.
>>> # Not okay
>>> $ printf "%b" '\0057usr\0057bin\n'
>>> 7usr7bin

Please try attached patch.
-- 
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9.patch
Type: text/x-patch
Size: 911 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20120307/5b8be219/attachment.bin>


More information about the busybox mailing list