aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/parse_config.c2
-rw-r--r--shell/ash.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libbb/parse_config.c b/libbb/parse_config.c
index 800a2935e..bcd667c7c 100644
--- a/libbb/parse_config.c
+++ b/libbb/parse_config.c
@@ -113,7 +113,7 @@ static int get_line_with_continuation(parser_t *parser)
113 line = parser->line; 113 line = parser->line;
114 for (;;) { 114 for (;;) {
115 parser->lineno++; 115 parser->lineno++;
116#if ENABLE_PLATFORM_MINGW32 116#if !ENABLE_PLATFORM_MINGW32
117 if (line[len - 1] == '\n') 117 if (line[len - 1] == '\n')
118 len--; 118 len--;
119#else 119#else
diff --git a/shell/ash.c b/shell/ash.c
index 7b9b9f1e1..a24ed0ac8 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -7372,8 +7372,8 @@ expbackq(union node *cmd, int flag IF_BASH_PROCESS_SUBST(, int ctl))
7372 if (dest > ((char *)stackblock() + startloc) && dest[-1] == '\r') { 7372 if (dest > ((char *)stackblock() + startloc) && dest[-1] == '\r') {
7373 STUNPUTC(dest); 7373 STUNPUTC(dest);
7374 } 7374 }
7375 }
7376#endif 7375#endif
7376 }
7377 expdest = dest; 7377 expdest = dest;
7378 7378
7379 if (!(flag & EXP_QUOTED)) 7379 if (!(flag & EXP_QUOTED))