|
From: <sv...@va...> - 2009-02-03 03:59:25
|
Author: njn
Date: 2009-02-03 03:59:05 +0000 (Tue, 03 Feb 2009)
New Revision: 9099
Log:
Fix a minor defect: only the first 14 chars of the 18 chars in the
--massif-out-file= option was being checked, which meant that if you did
--massif-out-filename=foo by mistake it would accept it and produce a file
called "ame=foo".
MERGE to 3_4_BRANCH
Modified:
trunk/massif/ms_main.c
Modified: trunk/massif/ms_main.c
===================================================================
--- trunk/massif/ms_main.c 2009-02-01 21:46:28 UTC (rev 9098)
+++ trunk/massif/ms_main.c 2009-02-03 03:59:05 UTC (rev 9099)
@@ -397,7 +397,7 @@
VG_(addToXA)(alloc_fns, &alloc_fn);
}
- else if (VG_CLO_STREQN(14, arg, "--massif-out-file=")) {
+ else if (VG_CLO_STREQN(18, arg, "--massif-out-file=")) {
clo_massif_out_file = &arg[18];
}
|