summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Fox2005-07-20 18:33:12 +0000
committerPaul Fox2005-07-20 18:33:12 +0000
commit54690dc0b25d5413445d190696707478a9e8f604 (patch)
treea8f582c8a4aaade15569671e33f5a1ed0f2b02d8
parentc3850c83d92ef1852f397c961c559c634756fb4a (diff)
downloadbusybox-54690dc0b25d5413445d190696707478a9e8f604.zip
busybox-54690dc0b25d5413445d190696707478a9e8f604.tar.gz
applyinf fix for:
0000155: variable expansion with braces in backticks in msh
-rw-r--r--shell/msh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/msh.c b/shell/msh.c
index 2fb0df7..14e8758 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;