OSDN Git Service

ash: fix obscure case of replacing + globbing + backslashes
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 26 Jun 2010 20:55:44 +0000 (22:55 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 26 Jun 2010 20:55:44 +0000 (22:55 +0200)
commitfd33e17a2bf4c09bb12ac09a645cfd0f0f914fec
tree45d99d8cc103dcd97086b61f8f8616f5ac14e931
parentb768aeb164d361d1ca2c8f6c091e93442f072656
ash: fix obscure case of replacing + globbing + backslashes

function                                             old     new   delta
subevalvar                                          1152    1178     +26
readtoken1                                          3267    3275      +8
redirect                                            1284    1286      +2
expandarg                                            957     958      +1
expdir                                                 4       -      -4
evalcommand                                         1219    1209     -10
expmeta                                              481     469     -12
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 4/2 up/down: 37/-26)             Total: 11 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c
shell/ash_test/ash-quoting/dollar_repl_slash_bash1.right [new file with mode: 0644]
shell/ash_test/ash-quoting/dollar_repl_slash_bash1.tests [new file with mode: 0755]