diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-09-20 07:14:18 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-09-20 07:14:18 +0000 |
commit | 70a444b0cc703a2fd3e05045cd1e36266221149e (patch) | |
tree | 32169a95b2aadc737d2a78b02bc0cb5fba56e856 /ext | |
parent | 656cbdf2b7a0b185fe1232cf7322f5b39f47c28a (diff) |
19990920
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/socket/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c index 93a8aacce3..4c0934a87b 100644 --- a/ext/socket/socket.c +++ b/ext/socket/socket.c @@ -115,7 +115,7 @@ sock_new(class, fd) #endif fp->f2 = rb_fdopen(fd, "w"); fp->mode = FMODE_READWRITE; - rb_io_unbuffered(fp); + rb_io_synchronized(fp); return (VALUE)sock; } |