|
From: <sv...@va...> - 2007-03-26 23:51:35
|
Author: njn
Date: 2007-03-27 00:51:29 +0100 (Tue, 27 Mar 2007)
New Revision: 6671
Log:
Fix bug 142491: allow more --alloc-fn functions (128, up from 32).
Modified:
trunk/massif/ms_main.c
Modified: trunk/massif/ms_main.c
===================================================================
--- trunk/massif/ms_main.c 2007-03-26 23:45:19 UTC (rev 6670)
+++ trunk/massif/ms_main.c 2007-03-26 23:51:29 UTC (rev 6671)
@@ -250,10 +250,10 @@
// 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)",
|