|
From: <sv...@va...> - 2011-05-11 16:32:26
|
Author: weidendo Date: 2011-05-11 17:32:18 +0100 (Wed, 11 May 2011) New Revision: 11746 Log: Fix bug 267383 As suggested by Florian. Cachegrind already does the same. Modified: trunk/callgrind/global.h Modified: trunk/callgrind/global.h =================================================================== --- trunk/callgrind/global.h 2011-05-11 16:04:28 UTC (rev 11745) +++ trunk/callgrind/global.h 2011-05-11 16:32:18 UTC (rev 11746) @@ -115,7 +115,7 @@ #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 */ |