hush: fix a bug where expand_one_var wasn't restoring 1st char of the encoded $var
authorDenys Vlasenko <dvlasenk@redhat.com>
Thu, 9 Sep 2010 12:38:46 +0000 (14:38 +0200)
committerDenys Vlasenko <dvlasenk@redhat.com>
Thu, 9 Sep 2010 12:38:46 +0000 (14:38 +0200)
commitbfc02a76c5c3f0c8a5de518a46951098fef1e3cb
treeb2c789c55069acf0023cb31ac86737678f5b8c1f
parent101a4e3e2170e5ffa2bd2b06d7a71088a0ab8958
hush: fix a bug where expand_one_var wasn't restoring 1st char of the encoded $var

function                                             old     new   delta
expand_one_var                                      1515    1513      -2
expand_vars_to_list                                 1133    1122     -11

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
shell/hush.c