ruby-changes:23984
From: akr <ko1@a...>
Date: Mon, 11 Jun 2012 22:16:47 +0900 (JST)
Subject: [ruby-changes:23984] akr:r36035 (trunk): * include/ruby/intern.h (rb_proc_exec_n): deprecated.
akr 2012-06-11 22:16:36 +0900 (Mon, 11 Jun 2012) New Revision: 36035 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36035 Log: * include/ruby/intern.h (rb_proc_exec_n): deprecated. (rb_exec): ditto. (rb_exec_err): ditto. (rb_fork): ditto. (rb_fork_err): ditto. Modified files: trunk/ChangeLog trunk/include/ruby/intern.h Index: include/ruby/intern.h =================================================================== --- include/ruby/intern.h (revision 36034) +++ include/ruby/intern.h (revision 36035) @@ -607,17 +607,17 @@ VALUE envp_buf; VALUE dup2_tmpbuf; }; -int rb_proc_exec_n(int, VALUE*, const char*); +DEPRECATED(int rb_proc_exec_n(int, VALUE*, const char*)); int rb_proc_exec(const char*); VALUE rb_exec_arg_init(int argc, VALUE *argv, int accept_shell, struct rb_exec_arg *e); int rb_exec_arg_addopt(struct rb_exec_arg *e, VALUE key, VALUE val); void rb_exec_arg_fixup(struct rb_exec_arg *e); int rb_run_exec_options(const struct rb_exec_arg *e, struct rb_exec_arg *s); int rb_run_exec_options_err(const struct rb_exec_arg *e, struct rb_exec_arg *s, char*, size_t); -int rb_exec(const struct rb_exec_arg*); -int rb_exec_err(const struct rb_exec_arg*, char*, size_t); -rb_pid_t rb_fork(int*, int (*)(void*), void*, VALUE); -rb_pid_t rb_fork_err(int*, int (*)(void*, char*, size_t), void*, VALUE, char*, size_t); +DEPRECATED(int rb_exec(const struct rb_exec_arg*)); +DEPRECATED(int rb_exec_err(const struct rb_exec_arg*, char*, size_t)); +DEPRECATED(rb_pid_t rb_fork(int*, int (*)(void*), void*, VALUE)); +DEPRECATED(rb_pid_t rb_fork_err(int*, int (*)(void*, char*, size_t), void*, VALUE, char*, size_t)); VALUE rb_f_exec(int,VALUE*); rb_pid_t rb_waitpid(rb_pid_t pid, int *status, int flags); void rb_syswait(rb_pid_t pid); Index: ChangeLog =================================================================== --- ChangeLog (revision 36034) +++ ChangeLog (revision 36035) @@ -1,3 +1,11 @@ +Mon Jun 11 22:15:44 2012 Tanaka Akira <akr@f...> + + * include/ruby/intern.h (rb_proc_exec_n): deprecated. + (rb_exec): ditto. + (rb_exec_err): ditto. + (rb_fork): ditto. + (rb_fork_err): ditto. + Mon Jun 11 18:49:52 2012 NARUSE, Yui <naruse@r...> * configure.in: on checking libexecinfo, don't specify /use/local. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/