summaryrefslogtreecommitdiffhomepage
path: root/shell
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2006-01-19 11:23:34 +0000
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2006-01-19 11:23:34 +0000
commitcfc8f596496937e4c08081e15e8c27b8ef166e59 (patch)
tree38552f46f6ae505798e9ab96b232348c94bc4b98 /shell
parentb565a12cf86db108510a04761cc4ad262eef3b2a (diff)
restore 8-bit syntax works, last debian patch is broken. Noticed by Vladimir Dronnikov
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 0697a4785..db537c44d 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -5256,7 +5256,7 @@ memtodest(const char *p, size_t len, int syntax, int quotes) {
q = makestrspace(len * 2, q);
while (len--) {
- int c = (unsigned char)*p++;
+ int c = *p++;
if (!c)
continue;
if (quotes && (SIT(c, syntax) == CCTL || SIT(c, syntax) == CBACK))