diff options
-rw-r--r-- | shell/ash.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c index 699b6c0ee..881af034d 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -7318,13 +7318,13 @@ hasmeta(const char *p) | |||
7318 | p = strpbrk(p, chars); | 7318 | p = strpbrk(p, chars); |
7319 | if (!p) | 7319 | if (!p) |
7320 | break; | 7320 | break; |
7321 | switch ((unsigned char) *p) { | 7321 | switch ((unsigned char)*p) { |
7322 | case CTLQUOTEMARK: | 7322 | case CTLQUOTEMARK: |
7323 | for (;;) { | 7323 | for (;;) { |
7324 | p++; | 7324 | p++; |
7325 | if (*p == CTLQUOTEMARK) | 7325 | if ((unsigned char)*p == CTLQUOTEMARK) |
7326 | break; | 7326 | break; |
7327 | if (*p == CTLESC) | 7327 | if ((unsigned char)*p == CTLESC) |
7328 | p++; | 7328 | p++; |
7329 | if (*p == '\0') /* huh? */ | 7329 | if (*p == '\0') /* huh? */ |
7330 | return 0; | 7330 | return 0; |