diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-05 16:22:38 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-05 16:22:38 +0000 |
| commit | 3b8aeff63ea9855f64c7f6c9771c58c68d9fb55f (patch) | |
| tree | 38c4e091c97426157118d2eaf8d5d6c0edbabf17 /io.c | |
| parent | bad40cf1ee1edcf05753e3b41f90f8b8a88cfca6 (diff) | |
| download | ruby-3b8aeff63ea9855f64c7f6c9771c58c68d9fb55f.tar.gz ruby-3b8aeff63ea9855f64c7f6c9771c58c68d9fb55f.tar.xz ruby-3b8aeff63ea9855f64c7f6c9771c58c68d9fb55f.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@11633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
| -rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2979,7 +2979,7 @@ pipe_finalize(OpenFile *fptr, int noraise) #if defined DJGPP status <<= 8; #endif - /* TODO: need it? -> rb_last_status = INT2FIX(status); */ + rb_last_status_set(status, fptr->pid); #else fptr_finalize(fptr, noraise); #endif |
