lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 19 Nov 2013 19:34:14 -0500
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Stephen Boyd <sboyd@...eaurora.org>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	Geert Uytterhoeven <geert@...ux-m68k.org>,
	LKML <linux-kernel@...r.kernel.org>,
	Michal Marek <mmarek@...e.cz>,
	linux-kbuild <linux-kbuild@...r.kernel.org>,
	Yang Bai <hamo.by@...il.com>
Subject: Re: [PATCH] scripts: Have make TAGS not include structure members

On Tue, 19 Nov 2013 16:18:07 -0800
Stephen Boyd <sboyd@...eaurora.org> wrote:
 
> I didn't have exuberant-ctags installed so 'make tags' was building the
> emacs tag file as 'tags' and vim was using it just fine. Please note
> that you may be affecting vim users with this change if they haven't
> installed exuberant-ctags.

I'm aware of that, as one of my boxes I tested this on also doesn't have
exuberant-ctags either.

I wasn't going to use this change, but instead add this change:


---
 scripts/tags.sh |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: linux-trace.git/scripts/tags.sh
===================================================================
--- linux-trace.git.orig/scripts/tags.sh	2013-11-19 19:29:34.352371615 -0500
+++ linux-trace.git/scripts/tags.sh	2013-11-19 19:32:37.821152204 -0500
@@ -218,7 +218,7 @@ exuberant()
 
 emacs()
 {
-	all_target_sources | xargs $1 -a                        \
+	all_target_sources | xargs $@ -a                        \
 	--regex='/^\(ENTRY\|_GLOBAL\)(\([^)]*\)).*/\2/'         \
 	--regex='/^SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/sys_\1/'   \
 	--regex='/^TRACE_EVENT(\([^,)]*\).*/trace_\1/'		\
@@ -263,7 +263,7 @@ xtags()
 	if $1 --version 2>&1 | grep -iq exuberant; then
 		exuberant $1
 	elif $1 --version 2>&1 | grep -iq emacs; then
-		emacs $1
+		emacs $@
 	else
 		all_target_sources | xargs $1 -a
         fi
@@ -313,7 +313,7 @@ case "$1" in
 
 	"TAGS")
 		rm -f TAGS
-		xtags etags
+		xtags etags --no-members
 		remove_structs=y
 		;;
 esac



-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists