Commit 11736132 authored by Tom Tromey's avatar Tom Tromey

Another -u fix

* lib-src/etags.c (copy_entries_from_old_file): Exit from inner loop
before copying \f to the TAGS file.
parent ee15b78c
Pipeline #5 failed with stage
......@@ -1707,14 +1707,14 @@ copy_entries_from_old_file (FILE *old_file, const char *old_filename, FILE *out_
break;
}
if (line.len < 0 || strneq (line.buffer, "\f", 1))
break;
if (should_copy)
{
fwrite (line.buffer, line.len, 1, out_file);
fputs ("\n", out_file);
}
if (line.len < 0 || strneq (line.buffer, "\f", 1))
break;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment