]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix bug 267383
authorJosef Weidendorfer <Josef.Weidendorfer@gmx.de>
Wed, 11 May 2011 16:32:18 +0000 (16:32 +0000)
committerJosef Weidendorfer <Josef.Weidendorfer@gmx.de>
Wed, 11 May 2011 16:32:18 +0000 (16:32 +0000)
As suggested by Florian. Cachegrind already does the same.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11746

callgrind/global.h

index d66e631e31d188559fa9fefd635921d96bdb10d6..c56b11fad739bdf7819e7737ba82caee4728f862 100644 (file)
@@ -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 */