* process.c (rb_exec_err): should preserve errno.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
efebb5b157
commit
9bb642d65a
@ -1,3 +1,7 @@
|
|||||||
|
Mon Jun 4 14:06:12 2012 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* process.c (rb_exec_err): should preserve errno.
|
||||||
|
|
||||||
Mon Jun 4 13:10:11 2012 NAKAMURA Usaku <usa@ruby-lang.org>
|
Mon Jun 4 13:10:11 2012 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* test/dl/test_c_{struct,union}_entity.rb: broken require.
|
* test/dl/test_c_{struct,union}_entity.rb: broken require.
|
||||||
|
@ -2591,7 +2591,7 @@ rb_exec_err(const struct rb_exec_arg *e, char *errmsg, size_t errmsg_buflen)
|
|||||||
proc_exec_v(prog, e->argv_str, e->envp_str);
|
proc_exec_v(prog, e->argv_str, e->envp_str);
|
||||||
}
|
}
|
||||||
#if !defined(HAVE_FORK)
|
#if !defined(HAVE_FORK)
|
||||||
rb_run_exec_options_err(sargp, NULL, errmsg, errmsg_buflen);
|
preserving_errno(rb_run_exec_options_err(sargp, NULL, errmsg, errmsg_buflen));
|
||||||
#else
|
#else
|
||||||
# undef sargp
|
# undef sargp
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user