diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-11-16 07:24:21 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-11-16 07:24:21 +0000 |
commit | 074203d270bba2046f6d272f9d01385257be9fee (patch) | |
tree | e4ece206c3afe82313f3faa4a82468cdfb32d2f5 /ext/socket | |
parent | 46620a87720943120cabe6ffe2e94a2c3506c4c2 (diff) | |
download | ruby-074203d270bba2046f6d272f9d01385257be9fee.tar.gz |
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket')
-rw-r--r-- | ext/socket/socket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c index b815c3f935..e77e3d609f 100644 --- a/ext/socket/socket.c +++ b/ext/socket/socket.c @@ -182,6 +182,7 @@ sock_new(class, fd) fp->f = rb_fdopen(fd, "r"); #ifdef NT fp->finalize = sock_finalize; + fd = myfddup(fd); #else fd = dup(fd); #endif |