diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-21 15:04:51 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-21 15:04:51 +0000 |
| commit | c5469a56c88f5b74d760b19402468df173a6b628 (patch) | |
| tree | bbd5ca970e926757e6501c7d09f189bcdba2413e /process.c | |
| parent | 04a4fcc9264b044bbfd72598df07992e4af63deb (diff) | |
| download | ruby-c5469a56c88f5b74d760b19402468df173a6b628.tar.gz ruby-c5469a56c88f5b74d760b19402468df173a6b628.tar.xz ruby-c5469a56c88f5b74d760b19402468df173a6b628.zip | |
* process.c (rb_f_system): not need to call last_status_set() any
longer on _WIN32.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
| -rw-r--r-- | process.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1427,9 +1427,7 @@ rb_f_system(argc, argv) else { status = proc_spawn_n(argc, argv, prog); } -#if defined(_WIN32) - last_status_set(status, 0); -#else +#if !defined(_WIN32) last_status_set(status == -1 ? 127 : status, 0); #endif #elif defined(__VMS) |
