echo: fix ENOSPC detection and some iffy code in \NNN handling
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 14 Feb 2011 14:42:18 +0000 (15:42 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 14 Feb 2011 14:42:18 +0000 (15:42 +0100)
commitb9348440b0491b479457b304754bca4840286f74
tree636a1f233abbe51216a231d1d3eb37f7faabd1bd
parent713e6d78e1cb567848805e8dd0c9c0cadbfa787a
echo: fix ENOSPC detection and some iffy code in \NNN handling

function                                             old     new   delta
echo_main                                            330     302     -28

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/echo.c
testsuite/echo/echo-prints-dash [new file with mode: 0644]
testsuite/echo/echo-prints-non-opts [new file with mode: 0644]
testsuite/echo/echo-prints-slash_00041 [new file with mode: 0644]
testsuite/echo/echo-prints-slash_0041 [new file with mode: 0644]
testsuite/echo/echo-prints-slash_041 [new file with mode: 0644]
testsuite/echo/echo-prints-slash_41 [new file with mode: 0644]