perf: Do not include libgen.h
PATCH 1/1 perf: 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 <[email protected]>
--- tools/perf/util/symbol.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
tools/perf/util/symbol.c +0 -1
@@ -1,6 +1,5 @@#include <dirent.h> #include <errno.h> -#include <libgen.h> #include <stdlib.h> #include <stdio.h> #include <string.h>
Signature · 1 line
1.7.9.1
Arnaldo Carvalho de Melo
AppliedEm Tue, Mar 27, 2012 at 12:03:01AM -0400, David Miller escreveu:
Quoted 3 lines
That causes us to end up using the XPG version of basename which can modify it's argument.
Thanks, applied.
- Arnaldo
[tip:perf/urgent] perf symbols: Do not include libgen.h
In reply to David MillerCommit-ID: 3738d40ec51317eb8390218a33513ca35656f107 Gitweb: http://git.kernel.org/tip/3738d40ec51317eb8390218a33513ca35656f107 Author: David Miller <[email protected]> AuthorDate: Tue, 27 Mar 2012 00:03:01 -0400 Committer: Arnaldo Carvalho de Melo <[email protected]> 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 <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/util/symbol.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
tools/perf/util/symbol.c +0 -1
@@ -1,6 +1,5 @@#include <dirent.h> #include <errno.h> -#include <libgen.h> #include <stdlib.h> #include <stdio.h> #include <string.h>