summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-07 15:14:46 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-07 15:14:46 +0000
commitcfecd21a89708cdddac56effafd3de804785a3ea (patch)
tree8c866536be682808f07d56745bd2c355bc42d0c7 /process.c
parentbe3de529c24ae4d12c030f915d4d4914e2d5ceb5 (diff)
process.c: open exception message
* process.c (rb_execarg_parent_start1): raise with the target path name when open() failed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index 9849b2e..8081ce8 100644
--- a/process.c
+++ b/process.c
@@ -2334,7 +2334,7 @@ rb_execarg_parent_start1(VALUE execarg_obj)
rb_thread_check_ints();
goto again;
}
- rb_sys_fail("open");
+ rb_syserr_fail_str(open_data.err, vpath);
}
fd2 = open_data.ret;
rb_update_max_fd(fd2);