aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coreutils/cut.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/coreutils/cut.c b/coreutils/cut.c
index d129f9b9d..067e69b12 100644
--- a/coreutils/cut.c
+++ b/coreutils/cut.c
@@ -152,6 +152,11 @@ static void cut_file(FILE *file, const char *delim, const char *odelim,
152 unsigned uu = 0, start = 0, end = 0, out = 0; 152 unsigned uu = 0, start = 0, end = 0, out = 0;
153 int dcount = 0; 153 int dcount = 0;
154 154
155#if ENABLE_PLATFORM_MINGW32
156 /* An empty line can't contain a delimiter */
157 if (linelen == 0 && (option_mask32 & CUT_OPT_SUPPRESS_FLGS))
158 goto next_line;
159#endif
155 /* Loop through bytes, finding next delimiter */ 160 /* Loop through bytes, finding next delimiter */
156 for (;;) { 161 for (;;) {
157 /* End of current range? */ 162 /* End of current range? */