diff options
| author | Eli Zaretskii | 2022-11-27 15:43:39 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2022-11-27 15:43:39 +0200 |
| commit | 6f0906be5115e88dc70eb655326bccbbcfbb42b8 (patch) | |
| tree | 2f0da4667b520ebb4000a23a324cbb1de40db8b4 /lib-src | |
| parent | d48bb4874bc6cd3e69c7a15fc3c91cc141025c51 (diff) | |
| download | emacs-6f0906be5115e88dc70eb655326bccbbcfbb42b8.tar.gz emacs-6f0906be5115e88dc70eb655326bccbbcfbb42b8.zip | |
; Fix last change in etags.c
* lib-src/etags.c (cleanup_tags_file): Renamed from
clean_matched_file_tag.
* test/manual/etags/CTAGS.good_update:
* test/manual/etags/CTAGS.good_crlf: Update to match the test.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/etags.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index b6f51dfa83f..d1d20858cdd 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -399,7 +399,7 @@ static void free_fdesc (fdesc *); | |||
| 399 | static void pfnote (char *, bool, char *, ptrdiff_t, intmax_t, intmax_t); | 399 | static void pfnote (char *, bool, char *, ptrdiff_t, intmax_t, intmax_t); |
| 400 | static void invalidate_nodes (fdesc *, node **); | 400 | static void invalidate_nodes (fdesc *, node **); |
| 401 | static void put_entries (node *); | 401 | static void put_entries (node *); |
| 402 | static void clean_matched_file_tag (char const * const, char const * const); | 402 | static void cleanup_tags_file (char const * const, char const * const); |
| 403 | 403 | ||
| 404 | static void do_move_file (const char *, const char *); | 404 | static void do_move_file (const char *, const char *); |
| 405 | static char *concat (const char *, const char *, const char *); | 405 | static char *concat (const char *, const char *, const char *); |
| @@ -1392,7 +1392,7 @@ main (int argc, char **argv) | |||
| 1392 | default: | 1392 | default: |
| 1393 | continue; /* the for loop */ | 1393 | continue; /* the for loop */ |
| 1394 | } | 1394 | } |
| 1395 | clean_matched_file_tag (tagfile, argbuffer[i].what); | 1395 | cleanup_tags_file (tagfile, argbuffer[i].what); |
| 1396 | } | 1396 | } |
| 1397 | append_to_tagfile = true; | 1397 | append_to_tagfile = true; |
| 1398 | } | 1398 | } |
| @@ -1442,7 +1442,7 @@ main (int argc, char **argv) | |||
| 1442 | * Equivalent to: mv tags OTAGS;grep -Fv ' filename ' OTAGS >tags;rm OTAGS | 1442 | * Equivalent to: mv tags OTAGS;grep -Fv ' filename ' OTAGS >tags;rm OTAGS |
| 1443 | */ | 1443 | */ |
| 1444 | static void | 1444 | static void |
| 1445 | clean_matched_file_tag (const char* tagfile, const char* match_file_name) | 1445 | cleanup_tags_file (const char* tagfile, const char* match_file_name) |
| 1446 | { | 1446 | { |
| 1447 | FILE *otags_f = fopen ("OTAGS", "wb"); | 1447 | FILE *otags_f = fopen ("OTAGS", "wb"); |
| 1448 | FILE *tag_f = fopen (tagfile, "rb"); | 1448 | FILE *tag_f = fopen (tagfile, "rb"); |
| @@ -7275,7 +7275,8 @@ get_lispy_tag (register char *bp) | |||
| 7275 | * appended to `filebuf'. | 7275 | * appended to `filebuf'. |
| 7276 | */ | 7276 | */ |
| 7277 | static ptrdiff_t | 7277 | static ptrdiff_t |
| 7278 | readline_internal (linebuffer *lbp, FILE *stream, char const *filename, const bool leave_cr) | 7278 | readline_internal (linebuffer *lbp, FILE *stream, char const *filename, |
| 7279 | const bool leave_cr) | ||
| 7279 | { | 7280 | { |
| 7280 | char *buffer = lbp->buffer; | 7281 | char *buffer = lbp->buffer; |
| 7281 | char *p = lbp->buffer; | 7282 | char *p = lbp->buffer; |