mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-07 12:44:45 +00:00
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:
parent
c9f7ec1fb4
commit
a893d716bd
@ -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];
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user