hush: fix a bug with backslashes improperly handled in unquoted variables.
authorDenis Vlasenko <vda.linux@googlemail.com>
Wed, 18 Jun 2008 16:30:42 +0000 (16:30 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Wed, 18 Jun 2008 16:30:42 +0000 (16:30 -0000)
commit55789c6646d1134c6e75380e66a953b676acfde9
treea4a620ba29f029bae2deb09792cc893b7ea2c03f
parentab876cd107fe6ca274f58bae3264396745d8e5f9
hush: fix a bug with backslashes improperly handled in unquoted variables.
 with previous patch:

function                                             old     new   delta
parse_stream                                        1638    1758    +120
expand_on_ifs                                         97     174     +77
free_pipe                                            206     237     +31
setup_redirect                                       217     220      +3
setup_redirects                                      143     144      +1
done_word                                            698     688     -10
free_strings                                          38       -     -38
expand_variables                                    1451    1403     -48
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 5/2 up/down: 232/-96)           Total: 136 bytes
shell/hush.c