diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-03-28 11:05:46 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-03-28 11:05:46 +0000 |
commit | d6e2d211afaf7bc3d08a6f833fe8e20f3aa3e3f6 (patch) | |
tree | 32d67c633f166665552156bf01fa698be7535336 /io.c | |
parent | 7253910df83611f0c2aa4f6c5a5718680b9aea60 (diff) |
1.1b9_05 patches
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -739,8 +739,8 @@ io_closed(io) { OpenFile *fptr; - GetOpenFile(io, fptr); - return fptr->f?FALSE:TRUE; + fptr = RFILE(io)->fptr; + return (fptr->f || fptr->f2)?FALSE:TRUE; } static VALUE |