* [PATCH] perf: Do not include libgen.h
@ 2012-03-27 4:03 David Miller
2012-03-27 13:59 ` Arnaldo Carvalho de Melo
2012-03-31 7:42 ` [tip:perf/urgent] perf symbols: " tip-bot for David Miller
0 siblings, 2 replies; 3+ messages in thread
From: David Miller @ 2012-03-27 4:03 UTC (permalink / raw)
To: acme; +Cc: linux-kernel
That causes us to end up using the XPG version of basename which can
modify it's argument.
Signed-off-by: David S. Miller <davem@davemloft.net>
---
tools/perf/util/symbol.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c
index 472b467..c0a028c 100644
--- a/tools/perf/util/symbol.c
+++ b/tools/perf/util/symbol.c
@@ -1,6 +1,5 @@
#include <dirent.h>
#include <errno.h>
-#include <libgen.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
--
1.7.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] perf: Do not include libgen.h
2012-03-27 4:03 [PATCH] perf: Do not include libgen.h David Miller
@ 2012-03-27 13:59 ` Arnaldo Carvalho de Melo
2012-03-31 7:42 ` [tip:perf/urgent] perf symbols: " tip-bot for David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2012-03-27 13:59 UTC (permalink / raw)
To: David Miller; +Cc: linux-kernel
Em Tue, Mar 27, 2012 at 12:03:01AM -0400, David Miller escreveu:
>
> That causes us to end up using the XPG version of basename which can
> modify it's argument.
Thanks, applied.
- Arnaldo
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tip:perf/urgent] perf symbols: Do not include libgen.h
2012-03-27 4:03 [PATCH] perf: Do not include libgen.h David Miller
2012-03-27 13:59 ` Arnaldo Carvalho de Melo
@ 2012-03-31 7:42 ` tip-bot for David Miller
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for David Miller @ 2012-03-31 7:42 UTC (permalink / raw)
To: linux-tip-commits; +Cc: acme, linux-kernel, hpa, mingo, tglx, davem
Commit-ID: 3738d40ec51317eb8390218a33513ca35656f107
Gitweb: http://git.kernel.org/tip/3738d40ec51317eb8390218a33513ca35656f107
Author: David Miller <davem@davemloft.net>
AuthorDate: Tue, 27 Mar 2012 00:03:01 -0400
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Tue, 27 Mar 2012 10:57:48 -0300
perf symbols: Do not include libgen.h
That causes us to end up using the XPG version of basename which can
modify it's argument.
Signed-off-by: David S. Miller <davem@davemloft.net>
Link: http://lkml.kernel.org/r/20120327.000301.1122788061724345175.davem@davemloft.net
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/perf/util/symbol.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c
index 5dd83c3..d9e995b 100644
--- a/tools/perf/util/symbol.c
+++ b/tools/perf/util/symbol.c
@@ -1,6 +1,5 @@
#include <dirent.h>
#include <errno.h>
-#include <libgen.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-03-31 7:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-27 4:03 [PATCH] perf: Do not include libgen.h David Miller
2012-03-27 13:59 ` Arnaldo Carvalho de Melo
2012-03-31 7:42 ` [tip:perf/urgent] perf symbols: " tip-bot for David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox