Re: [PATCH] Makefile: fix error when gen TAGS

From: Yang Bai
Date: Mon Mar 12 2012 - 03:07:21 EST


On Mon, Mar 12, 2012 at 2:46 PM, Stephen Boyd <sboyd@xxxxxxxxxxxxxx> wrote:
>
>
> What does ctags --version print out for you? I'm not aware of exuberant tags
> outputting files called TAGS (although etags would do that and then this
> patch wouldn't make sense).

hamo@trinity ~ $ ctags --version
Exuberant Ctags 5.9~svn20110310, Copyright (C) 1996-2009 Darren Hiebert
Compiled: Nov 9 2011, 03:17:31
Addresses: <dhiebert@xxxxxxxxxxxxxxxxxxxxx>, http://ctags.sourceforge.net
Optional compiled features: +wildcards, +regex

hamo@trinity ~ $ etags --version
Exuberant Ctags 5.9~svn20110310, Copyright (C) 1996-2009 Darren Hiebert
Compiled: Nov 9 2011, 03:17:31
Addresses: <dhiebert@xxxxxxxxxxxxxxxxxxxxx>, http://ctags.sourceforge.net
Optional compiled features: +wildcards, +regex

hamo@trinity ~ $ ls -l /usr/bin/etags
lrwxrwxrwx 1 root root 23 Feb 8 17:48 /usr/bin/etags -> /etc/alternatives/etags
hamo@trinity ~ $ ls -l /etc/alternatives/etags
lrwxrwxrwx 1 root root 24 Feb 15 10:06 /etc/alternatives/etags ->
/usr/bin/ctags-exuberant

So I think which kind of name Exuberant Ctags generates depends on argv[0].

>
> It would be nice if etags was updated to take care of this forward
> declaration removal. Care to send that patch?
>
Yes. I will send this patch soon.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/