diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-07 15:14:46 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-07 15:14:46 +0000 |
commit | cfecd21a89708cdddac56effafd3de804785a3ea (patch) | |
tree | 8c866536be682808f07d56745bd2c355bc42d0c7 /process.c | |
parent | be3de529c24ae4d12c030f915d4d4914e2d5ceb5 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |