From: Josef Weidendorfer Date: Wed, 11 May 2011 16:32:18 +0000 (+0000) Subject: Fix bug 267383 X-Git-Tag: svn/VALGRIND_3_7_0~491 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c8d0306eaaf3af2693fba757aee2323c04fb1e3;p=thirdparty%2Fvalgrind.git Fix bug 267383 As suggested by Florian. Cachegrind already does the same. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11746 --- 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 */