diff options
| author | Tom Tromey | 2018-01-29 21:43:00 -0700 |
|---|---|---|
| committer | Tom Tromey | 2018-01-29 21:43:00 -0700 |
| commit | 117361321fc38ad4534e25b7614e4b72dd3daff5 (patch) | |
| tree | 73fd5c3e902ffbf845dee2c3fb0163a0e7015a7c | |
| parent | ee15b78cf6913e4f34306c9295cbd10cdec749e9 (diff) | |
| download | emacs-feature/etags-update.tar.gz emacs-feature/etags-update.zip | |
Another -u fixfeature/etags-update
* lib-src/etags.c (copy_entries_from_old_file): Exit from inner loop
before copying \f to the TAGS file.
| -rw-r--r-- | lib-src/etags.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index 6479e2f12fb..925355f9da0 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -1707,14 +1707,14 @@ copy_entries_from_old_file (FILE *old_file, const char *old_filename, FILE *out_ | |||
| 1707 | break; | 1707 | break; |
| 1708 | } | 1708 | } |
| 1709 | 1709 | ||
| 1710 | if (line.len < 0 || strneq (line.buffer, "\f", 1)) | ||
| 1711 | break; | ||
| 1712 | |||
| 1710 | if (should_copy) | 1713 | if (should_copy) |
| 1711 | { | 1714 | { |
| 1712 | fwrite (line.buffer, line.len, 1, out_file); | 1715 | fwrite (line.buffer, line.len, 1, out_file); |
| 1713 | fputs ("\n", out_file); | 1716 | fputs ("\n", out_file); |
| 1714 | } | 1717 | } |
| 1715 | |||
| 1716 | if (line.len < 0 || strneq (line.buffer, "\f", 1)) | ||
| 1717 | break; | ||
| 1718 | } | 1718 | } |
| 1719 | } | 1719 | } |
| 1720 | 1720 | ||