diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-01-18 08:43:14 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-01-18 08:43:14 +0000 |
commit | 0b3092922d0ff12923852e64e9146f99d6191287 (patch) | |
tree | 83fdd95738b0470346716b47dcb3ffdac299764a /ext/socket | |
parent | 24a286efe1049d140869bb5ecd9acdc81ec833a0 (diff) | |
download | ruby-0b3092922d0ff12923852e64e9146f99d6191287.tar.gz |
* io.c (rb_io_s_read): new method to call IO#read from
pathname. In addition, it accepts third optional argument to
specify starting point.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket')
-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 e77e3d609f..d688869c65 100644 --- a/ext/socket/socket.c +++ b/ext/socket/socket.c @@ -420,7 +420,7 @@ enum sock_recv_type { RECV_RECV, /* BasicSocket#recv(no from) */ RECV_IP, /* IPSocket#recvfrom */ RECV_UNIX, /* UNIXSocket#recvfrom */ - RECV_SOCKET, /* Socket#recvfrom */ + RECV_SOCKET /* Socket#recvfrom */ }; static VALUE |