hush: make pun_pipe loop clearer; fix "cmd | var=`cmd` | cmd" handling
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 14 Jul 2010 17:01:25 +0000 (19:01 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 14 Jul 2010 17:01:25 +0000 (19:01 +0200)
commit889550b36b057fb8ad5c825c7a17e46fde4ebbf6
tree6b3f4d9a311035acaa970ac2dfce62c609d4ce55
parent6ac37da4256a248b8b8046d3b356a3b9c4831c97
hush: make pun_pipe loop clearer; fix "cmd | var=`cmd` | cmd" handling

function                                             old     new   delta
free_strings                                           -      38     +38
pseudo_exec_argv                                     161     171     +10
free_pipe                                            227     205     -22
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/1 up/down: 48/-22)             Total: 26 bytes

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