e: when valgrind is on, no need to ptrace anything.

SVN revision: 80042
This commit is contained in:
Cedric BAIL 2012-12-03 10:43:14 +00:00
parent fe5d6d01c1
commit d6b04df109
1 changed files with 3 additions and 0 deletions

View File

@ -403,6 +403,9 @@ main(int argc, char **argv)
copy_args(args + i, argv + 1, argc - 1);
args[i + argc - 1] = NULL;
if (valgrind_tool || valgrind_mode)
really_know = EINA_TRUE;
#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || \
(defined (__MACH__) && defined (__APPLE__))
execv(args[0], args);