[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH, RFC] etags/ctags v22.0.92 break Linux kernel `make TAGS/tags
From: |
Francesco Potorti` |
Subject: |
Re: [PATCH, RFC] etags/ctags v22.0.92 break Linux kernel `make TAGS/tags` |
Date: |
Thu, 28 Dec 2006 01:10:26 +0100 |
>The bug only appears if some `make *config` has succeeded. Try:
>
> make allnoconfig
> make TAGS
>
>I have verified that the above shows the bug with 2.6.18 Linux.
Okay, I found out why and corrected it. Please try it yourself and let
me know. Thank you for finding this bug.
This is the relevant Changelog entry:
2006-12-28 Francesco Potortì <address@hidden>
* etags.c (readline): When creating a relative file name from a
#line directive, leave the file name alone. The previous
behaviour was to make it relative to the tags file directory,
under the hypothesis that the #line directive file name was
relative to the directory of the tagged file. That hypothesis is
wrong with Cpp and Lex.
and this is the patch:
@@ -6285,7 +6285,7 @@ readline (lbp, stream)
name = lbp->buffer + start;
*endp = '\0';
canonicalize_filename (name); /* for DOS */
- taggedabsname = absolute_filename (name, curfdp->infabsdir);
+ taggedabsname = absolute_filename (name, tagfiledir);
if (filename_is_absolute (name)
|| filename_is_absolute (curfdp->infname))
taggedfname = savestr (taggedabsname);
- [PATCH, RFC] etags/ctags v22.0.92 break Linux kernel `make TAGS/tags`, Don Mullis, 2006/12/24
- Re: [PATCH, RFC] etags/ctags v22.0.92 break Linux kernel `make TAGS/tags`, Masatake YAMATO, 2006/12/25
- Re: [PATCH, RFC] etags/ctags v22.0.92 break Linux kernel `make TAGS/tags`, Francesco Potorti`, 2006/12/26
- Re: [PATCH, RFC] etags/ctags v22.0.92 break Linux kernel `make TAGS/tags`, Don Mullis, 2006/12/27
- Re: [PATCH, RFC] etags/ctags v22.0.92 break Linux kernel `make TAGS/tags`,
Francesco Potorti` <=
- Re: [PATCH, RFC] etags/ctags v22.0.92 break Linux kernel `make TAGS/tags`, Don Mullis, 2006/12/29
- Re: [PATCH, RFC] etags/ctags v22.0.92 break Linux kernel `make TAGS/tags`, Francesco Potorti`, 2006/12/28
- Re: [PATCH, RFC] etags/ctags v22.0.92 break Linux kernel `make TAGS/tags`, Richard Stallman, 2006/12/29
- Re: [PATCH, RFC] etags/ctags v22.0.92 break Linux kernel `make TAGS/tags`, Don Mullis, 2006/12/30
- Re: [PATCH, RFC] etags/ctags v22.0.92 break Linux kernel `make TAGS/tags`, Richard Stallman, 2006/12/30