diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index a885514d3..d96e56851 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -11229,6 +11229,9 @@ readtoken1(int c, int syntax, char *eofmark, int striptabs) | |||
11229 | c = decode_dollar_squote(); | 11229 | c = decode_dollar_squote(); |
11230 | if (c & 0x100) { | 11230 | if (c & 0x100) { |
11231 | USTPUTC('\\', out); | 11231 | USTPUTC('\\', out); |
11232 | if (eofmark == NULL || dblquote) | ||
11233 | /* Or else this SEGVs: $'\<0x82>' */ | ||
11234 | USTPUTC(CTLESC, out); | ||
11232 | c = (unsigned char)c; | 11235 | c = (unsigned char)c; |
11233 | } | 11236 | } |
11234 | } | 11237 | } |