From 27172b8e6fcd14f07fa5ea5be803cb04bde04559 Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 5 Feb 2007 16:22:38 +0000 Subject: * intern.h: prepare rb_last_status_get() and rb_last_status_set(). Use these functions instead of rb_last_status ([ruby-dev:30264]). * process.c: define above functions. * ext/pty/pty.c: use above functins. * io.c (pipe_finalize): ditto. * process.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- intern.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intern.h') diff --git a/intern.h b/intern.h index b3fd3cb0ce..c4a0c2c042 100644 --- a/intern.h +++ b/intern.h @@ -413,6 +413,8 @@ VALUE rb_sym_all_symbols(void); ID rb_compose_ivar2(ID, VALUE); ID rb_decompose_ivar2(ID, VALUE*); /* process.c */ +void rb_last_status_set(int status, rb_pid_t pid); +VALUE rb_last_status_get(void); struct rb_exec_arg { int argc; VALUE *argv; -- cgit v1.2.3