]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix bug 142491: allow more --alloc-fn functions (128, up from 32).
authorNicholas Nethercote <njn@valgrind.org>
Mon, 26 Mar 2007 23:52:19 +0000 (23:52 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Mon, 26 Mar 2007 23:52:19 +0000 (23:52 +0000)
MERGED FROM TRUNK

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_2_BRANCH@6672

massif/ms_main.c

index 98402894c0b6865b9bb21fe66d625884c783f14d..9464ec3ebc4db5d882514feb774a54c6a11a33d5 100644 (file)
@@ -248,10 +248,10 @@ static UInt n_heap_blocks = 0;
 // Current directory at startup.
 static Char base_dir[VKI_PATH_MAX];
 
-#define MAX_ALLOC_FNS      32      // includes the builtin ones
+#define MAX_ALLOC_FNS      128     // includes the builtin ones
 
 // First few filled in, rest should be zeroed.  Zero-terminated vector.
-static UInt  n_alloc_fns = 11;
+static UInt  n_alloc_fns = 10;
 static Char* alloc_fns[MAX_ALLOC_FNS] = { 
    "malloc",
    "operator new(unsigned)",