diff options
-rw-r--r-- | shell/ash.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c index aa2a93bca..f16d7fb6a 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -636,8 +636,6 @@ raise_exception(int e) | |||
636 | abort(); | 636 | abort(); |
637 | #endif | 637 | #endif |
638 | INT_OFF; | 638 | INT_OFF; |
639 | /* Prevent this: ";l" -> syntax error, then "s" -> runs "ls" */ | ||
640 | g_parsefile->unget = 0; | ||
641 | exception_type = e; | 639 | exception_type = e; |
642 | longjmp(exception_handler->loc, 1); | 640 | longjmp(exception_handler->loc, 1); |
643 | } | 641 | } |
@@ -14161,6 +14159,7 @@ reset(void) | |||
14161 | /* from input.c: */ | 14159 | /* from input.c: */ |
14162 | g_parsefile->left_in_buffer = 0; | 14160 | g_parsefile->left_in_buffer = 0; |
14163 | g_parsefile->left_in_line = 0; /* clear input buffer */ | 14161 | g_parsefile->left_in_line = 0; /* clear input buffer */ |
14162 | g_parsefile->unget = 0; | ||
14164 | popallfiles(); | 14163 | popallfiles(); |
14165 | 14164 | ||
14166 | /* from var.c: */ | 14165 | /* from var.c: */ |