aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 85d8f18a5..da3b6d031 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -9573,7 +9573,7 @@ preadbuffer(void)
9573 more--; 9573 more--;
9574 9574
9575 c = *q; 9575 c = *q;
9576 if (c == '\0') { 9576 if (c == '\0' || (ENABLE_PLATFORM_MINGW32 && c == '\r')) {
9577 memmove(q, q + 1, more); 9577 memmove(q, q + 1, more);
9578 } else { 9578 } else {
9579 q++; 9579 q++;