From 0c8d0306eaaf3af2693fba757aee2323c04fb1e3 Mon Sep 17 00:00:00 2001 From: Josef Weidendorfer Date: Wed, 11 May 2011 16:32:18 +0000 Subject: [PATCH] Fix bug 267383 As suggested by Florian. Cachegrind already does the same. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11746 --- callgrind/global.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/callgrind/global.h b/callgrind/global.h index d66e631e31..c56b11fad7 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 */ -- 2.47.3