aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorGravatar Paul Fox <pgf@brightstareng.com>2005-07-20 18:33:12 +0000
committerGravatar Paul Fox <pgf@brightstareng.com>2005-07-20 18:33:12 +0000
commit54690dc0b25d5413445d190696707478a9e8f604 (patch)
treea8f582c8a4aaade15569671e33f5a1ed0f2b02d8 /shell
parentc3850c83d92ef1852f397c961c559c634756fb4a (diff)
downloadbusybox-54690dc0b25d5413445d190696707478a9e8f604.tar.gz
busybox-54690dc0b25d5413445d190696707478a9e8f604.tar.bz2
applyinf fix for:
0000155: variable expansion with braces in backticks in msh
Diffstat (limited to 'shell')
-rw-r--r--shell/msh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/msh.c b/shell/msh.c
index 2fb0df739..14e875854 100644
--- a/shell/msh.c
+++ b/shell/msh.c
@@ -4290,7 +4290,7 @@ int quoted;
}
var_name[var_index++] = *src++;
- while (isalnum(*src))
+ while (isalnum(*src) || *src=='_')
var_name[var_index++] = *src++;
var_name[var_index] = 0;