raise sanity limit to pass coreutils testsuite

MERGE TO STABLE


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2035
This commit is contained in:
Dirk Mueller 2003-11-19 00:45:13 +00:00
parent c3d9874e22
commit df211b883c

View File

@ -903,9 +903,9 @@ static void process_cmd_line_options ( void )
while (True) {
sp --;
if (*sp == 0) break;
if (++ctr >= 1000)
if (++ctr >= 2000)
args_grok_error(
"suspiciously many (1000) env[] entries; giving up");
"suspiciously many (2000) env[] entries; giving up");
}
/* sp now points to NULL at the end of argv[] */