summaryrefslogtreecommitdiffstats
path: root/ext/socket
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-15 07:48:47 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-15 07:48:47 +0000
commite2f83316c21b5c63eafdb5695cffd23f12053ee1 (patch)
tree0271f0e93347e90c82031366dc666f7f93838370 /ext/socket
parent2b3b15b28a108096dca098f260e7344e8d76a11e (diff)
downloadruby-e2f83316c21b5c63eafdb5695cffd23f12053ee1.tar.gz
ruby-e2f83316c21b5c63eafdb5695cffd23f12053ee1.tar.xz
ruby-e2f83316c21b5c63eafdb5695cffd23f12053ee1.zip
* pack.c (pack_unpack): should treat 'U' in character unit, not in
byte unit. * error.c (exc_initialize): should clear backtrace information. * io.c (rb_io_fptr_cleanup): should close IO created by IO.new(fd). * rubyio.h: remove FMODE_FDOPEN git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket')
-rw-r--r--ext/socket/socket.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index e2f1f0ce1..8373ce300 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -202,7 +202,6 @@ bsock_s_for_fd(klass, fd)
VALUE sock = init_sock(rb_obj_alloc(klass), NUM2INT(fd));
GetOpenFile(sock, fptr);
- fptr->mode |= FMODE_FDOPEN;
return sock;
}