summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-02-16 08:06:26 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-02-16 08:06:26 +0000
commit382b830b0f1d59e805e54414248e4daf67b03487 (patch)
tree77add4fb89fff4e6ce61526f6638d0d4f6073a42 /io.c
parent081a4e3ffabbfd224df51fbe0cd55daeb37f856e (diff)
* io.c (set_outfile): f should be the FILE* from the assigning value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/io.c b/io.c
index a317016305..ec699ad46d 100644
--- a/io.c
+++ b/io.c
@@ -2240,8 +2240,6 @@ set_outfile(val, var, orig, stdf)
GetOpenFile(val, fptr);
rb_io_check_writable(fptr);
-
- GetOpenFile(*var, fptr);
f = GetWriteFile(fptr);
dup2(fileno(f), fileno(stdf));