[llvm-commits] [test-suite] r152990 - /test-suite/trunk/tools/timeit.c
Daniel Dunbar
daniel at zuster.org
Sat Mar 17 10:02:51 PDT 2012
Author: ddunbar
Date: Sat Mar 17 12:02:50 2012
New Revision: 152990
URL: http://llvm.org/viewvc/llvm-project?rev=152990&view=rev
Log:
[test-suite] Fix refacto, timeit should use execvp().
Modified:
test-suite/trunk/tools/timeit.c
Modified: test-suite/trunk/tools/timeit.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/tools/timeit.c?rev=152990&r1=152989&r2=152990&view=diff
==============================================================================
--- test-suite/trunk/tools/timeit.c (original)
+++ test-suite/trunk/tools/timeit.c Sat Mar 17 12:02:50 2012
@@ -172,7 +172,7 @@
}
}
- execv(argv[0], argv);
+ execvp(argv[0], argv);
perror("execv");
return EXITCODE_EXEC_FAILURE;
}
More information about the llvm-commits
mailing list