diff options
author | Ron Yorston <rmy@pobox.com> | 2023-02-04 08:16:29 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2023-02-04 08:16:29 +0000 |
commit | 0708c8a68dfaf39ec9c48e477ff44a5c6c7d497c (patch) | |
tree | a17f1716235ee345a74c6ca36a01c74661e2785d /libbb | |
parent | 6e9d680e5bd72f30eb6c8a6972b9653086e4ac90 (diff) | |
download | busybox-w32-0708c8a68dfaf39ec9c48e477ff44a5c6c7d497c.tar.gz busybox-w32-0708c8a68dfaf39ec9c48e477ff44a5c6c7d497c.tar.bz2 busybox-w32-0708c8a68dfaf39ec9c48e477ff44a5c6c7d497c.zip |
Fix POSIX build
A misplaced #endif in ash and the wrong sense of a test in
parse_config.c broke the POSIX build.
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/parse_config.c | 2 |
1 files changed, 1 insertions, 1 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 |