restore 8-bit syntax works, last debian patch is broken. Noticed by Vladimir Dronnikov
author"Vladimir N. Oleynik" <dzo@simtreas.ru>
Thu, 19 Jan 2006 11:23:34 +0000 (11:23 -0000)
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>
Thu, 19 Jan 2006 11:23:34 +0000 (11:23 -0000)
shell/ash.c

index 0697a4785d30a098a2f3a8a48f7aea533493b1f3..db537c44d7b3d8a2bbbcafc052e1e639d290101e 100644 (file)
@@ -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))