diff options
author | dkegel@google.com <dkegel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-03 23:17:33 +0000 |
---|---|---|
committer | dkegel@google.com <dkegel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-03 23:17:33 +0000 |
commit | 82fc7c72f6dfe007207b7b7113f5c0ddca6884c7 (patch) | |
tree | 0158e9482bd1a92bfb8d05460dcc51cb27e079a8 /base/process_util_linux.cc | |
parent | ed931012a503d702e5377a5327688276850e4cdd (diff) | |
download | chromium_src-82fc7c72f6dfe007207b7b7113f5c0ddca6884c7.zip chromium_src-82fc7c72f6dfe007207b7b7113f5c0ddca6884c7.tar.gz chromium_src-82fc7c72f6dfe007207b7b7113f5c0ddca6884c7.tar.bz2 |
Get url_request_unittest.cc to build on Linux.
See http://code.google.com/p/chromium/issues/detail?id=3661
Also change LaunchApp to check PATH,
and fixed a useful gcc-4.3 warning re operator precedence.
Review URL: http://codereview.chromium.org/7968
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4515 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util_linux.cc')
-rw-r--r-- | base/process_util_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/process_util_linux.cc b/base/process_util_linux.cc index 23db2bd..db92ed9 100644 --- a/base/process_util_linux.cc +++ b/base/process_util_linux.cc @@ -40,7 +40,7 @@ bool LaunchApp(const std::vector<std::string>& argv, int pid = fork(); if (pid == 0) { - execv(argv_copy[0], argv_copy); + execvp(argv_copy[0], argv_copy); } else if (pid < 0) { retval = false; } else { |