aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c
index c957b001e..8fb32c1ae 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -7439,13 +7439,13 @@ hasmeta(const char *p)
7439 p = strpbrk(p, chars); 7439 p = strpbrk(p, chars);
7440 if (!p) 7440 if (!p)
7441 break; 7441 break;
7442 switch ((unsigned char) *p) { 7442 switch ((unsigned char)*p) {
7443 case CTLQUOTEMARK: 7443 case CTLQUOTEMARK:
7444 for (;;) { 7444 for (;;) {
7445 p++; 7445 p++;
7446 if (*p == CTLQUOTEMARK) 7446 if ((unsigned char)*p == CTLQUOTEMARK)
7447 break; 7447 break;
7448 if (*p == CTLESC) 7448 if ((unsigned char)*p == CTLESC)
7449 p++; 7449 p++;
7450 if (*p == '\0') /* huh? */ 7450 if (*p == '\0') /* huh? */
7451 return 0; 7451 return 0;