echo: do not retry on write errors
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 7 Feb 2011 01:03:51 +0000 (02:03 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 7 Feb 2011 01:03:51 +0000 (02:03 +0100)
commit8ee2adab21328761b80e0cbc513eda7eaa880b24
treec771696ab3b1be735e831b1721ab751c874e1cd3
parentb8ab4b038803df195eee9844c3597dd640c00393
echo: do not retry on write errors

function                                             old     new   delta
echo_main                                            297     336     +39
stpcpy                                                 -      22     +22
run_pipe                                            1561    1566      +5
pseudo_exec_argv                                     187     192      +5
hush_exit                                             75      80      +5
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 4/0 up/down: 98/0)               Total: 76 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/echo.c
shell/ash_test/ash-misc/echo_write_error.right [new file with mode: 0644]
shell/ash_test/ash-misc/echo_write_error.tests [new file with mode: 0644]
shell/ash_test/ash-redir/redir.right
shell/hush.c
shell/hush_test/hush-misc/echo_write_error.right [new file with mode: 0644]
shell/hush_test/hush-misc/echo_write_error.tests [new file with mode: 0755]