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



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9099
This commit is contained in:
Nicholas Nethercote 2009-02-03 03:59:05 +00:00
parent c9f7ec1fb4
commit a893d716bd

View File

@ -397,7 +397,7 @@ static Bool ms_process_cmd_line_option(Char* arg)
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];
}