summaryrefslogtreecommitdiff
path: root/callgrind
diff options
context:
space:
mode:
authorweidendo <weidendo@a5019735-40e9-0310-863c-91ae7b9d1cf9>2011-05-11 16:32:18 +0000
committerweidendo <weidendo@a5019735-40e9-0310-863c-91ae7b9d1cf9>2011-05-11 16:32:18 +0000
commitbb515c379fb2a1659f748dc6f0ff64cb5f4af7c8 (patch)
treee40d47ec95da316ebd330f89607c2d5ab3cc8dd8 /callgrind
parentd2f95a0c23802cc6694a618bddd314391473f23c (diff)
Fix bug 267383
As suggested by Florian. Cachegrind already does the same. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11746 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'callgrind')
-rw-r--r--callgrind/global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/callgrind/global.h b/callgrind/global.h
index d66e631e..c56b11fa 100644
--- a/callgrind/global.h
+++ b/callgrind/global.h
@@ -115,7 +115,7 @@ struct _CommandLineOptions {
#define MIN_LINE_SIZE 16
/* Size of various buffers used for storing strings */
-#define FILENAME_LEN 256
+#define FILENAME_LEN VKI_PATH_MAX
#define FN_NAME_LEN 4096 /* for C++ code :-) */
#define OBJ_NAME_LEN 256
#define COSTS_LEN 512 /* at least 17x 64bit values */