diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-25 07:57:39 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-25 07:57:39 +0000 |
commit | e85693fc77cf2e854568dda5a56d0d2293bae665 (patch) | |
tree | 37f91a9f014ce238ab09c970aac3e0470c543a72 | |
parent | 33d0be15002d785af0a65f83377895a87138a5a6 (diff) | |
download | ruby-e85693fc77cf2e854568dda5a56d0d2293bae665.tar.gz |
mjit.c: hide path search error behind verbose()
Before r63744, we let execvp(3) fail instead and it was quiet.
The verbosity was causing test_search to fail in
test/ruby/test_rubyoptions.rb when PATH is set to /tmp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | mjit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -367,7 +367,7 @@ start_process(const char *path, char *const *argv) int dev_null; if (!abspath) { - fprintf(stderr, "failed to find `%s' in PATH\n", path); + verbose(1, "MJIT: failed to find `%s' in PATH\n", path); return -1; } dev_null = rb_cloexec_open(ruby_null_device, O_WRONLY, 0); |