printf: fix this case: printf "%b" '\0057usr\0057bin\n'
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 7 Mar 2012 10:57:47 +0000 (11:57 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 7 Mar 2012 10:57:47 +0000 (11:57 +0100)
commit69d81a1c1b2e4881b751ee24f8eb70c0dfaa05d9
treeb71b6fb3ba32baf73d862b19db991e4d3e5e1c59
parentd4acaf70c586ea72fce0e4af4cba87d4a6d00655
printf: fix this case: printf "%b" '\0057usr\0057bin\n'

It was not accepting \0NNN. Standard printf tool does.

function                                             old     new   delta
printf_main                                          869     886     +17

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/printf.c