diff options
| author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-11-13 10:11:31 +0000 |
|---|---|---|
| committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-11-13 10:11:31 +0000 |
| commit | f68806890907244281079fccb61fdd29b3ddc8e6 (patch) | |
| tree | 259d2feaf2b84b2ef99ca34eef43d465a3134620 /process.c | |
| parent | ee163b4ebf8f30f133e33a45cf8c879a3b5a09e9 (diff) | |
| download | ruby-f68806890907244281079fccb61fdd29b3ddc8e6.tar.gz ruby-f68806890907244281079fccb61fdd29b3ddc8e6.tar.xz ruby-f68806890907244281079fccb61fdd29b3ddc8e6.zip | |
eban
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
| -rw-r--r-- | process.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -657,7 +657,7 @@ rb_f_system(argc, argv) Check_SafeStr(cmd); state = system(RSTRING(cmd)->ptr); - rb_last_status = INT2FIX(state); + rb_last_status = INT2FIX((state & 0xff) << 8); if (state == 0) return Qtrue; return Qfalse; |
