Fix vstype[] to match VS* defines. Patch from OpenWrt by mbm.
authorManuel Novoa III <mjn3@codepoet.org>
Wed, 18 Feb 2004 09:40:41 +0000 (09:40 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Wed, 18 Feb 2004 09:40:41 +0000 (09:40 -0000)
shell/ash.c

index e27d2e088cdd891ad9a46dddc09f8df3b7671e16..eb8706f36229c08ea98fd28f66114cc81f4d3dd7 100644 (file)
@@ -7604,7 +7604,7 @@ cmdputs(const char *s)
        int quoted = 0;
        static const char *const vstype[16] = {
                nullstr, "}", "-", "+", "?", "=",
-               "#", "##", "%", "%%"
+               "%", "%%", "#", "##", nullstr 
        };
 
        nextc = makestrspace((strlen(s) + 1) * 8, cmdnextc);