[前][次][番号順一覧][スレッド一覧]

ruby-changes:38841

From: kazu <ko1@a...>
Date: Tue, 16 Jun 2015 23:40:38 +0900 (JST)
Subject: [ruby-changes:38841] kazu:r50922 (trunk): fix unbalanced square brackets

kazu	2015-06-16 23:40:20 +0900 (Tue, 16 Jun 2015)

  New Revision: 50922

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50922

  Log:
    fix unbalanced square brackets

  Modified files:
    trunk/ext/socket/udpsocket.c
    trunk/ext/socket/unixsocket.c
Index: ext/socket/udpsocket.c
===================================================================
--- ext/socket/udpsocket.c	(revision 50921)
+++ ext/socket/udpsocket.c	(revision 50922)
@@ -194,7 +194,7 @@ udp_send(int argc, VALUE *argv, VALUE so https://github.com/ruby/ruby/blob/trunk/ext/socket/udpsocket.c#L194
 
 /*
  * call-seq:
- *   udpsocket.recvfrom_nonblock(maxlen [, flags [, options]) => [mesg, sender_inet_addr]
+ *   udpsocket.recvfrom_nonblock(maxlen [, flags [, options]]) => [mesg, sender_inet_addr]
  *
  * Receives up to _maxlen_ bytes from +udpsocket+ using recvfrom(2) after
  * O_NONBLOCK is set for the underlying file descriptor.
Index: ext/socket/unixsocket.c
===================================================================
--- ext/socket/unixsocket.c	(revision 50921)
+++ ext/socket/unixsocket.c	(revision 50922)
@@ -131,7 +131,7 @@ unix_path(VALUE sock) https://github.com/ruby/ruby/blob/trunk/ext/socket/unixsocket.c#L131
 
 /*
  * call-seq:
- *   unixsocket.recvfrom(maxlen [, flags[, outbuf]) => [mesg, unixaddress]
+ *   unixsocket.recvfrom(maxlen [, flags[, outbuf]]) => [mesg, unixaddress]
  *
  * Receives a message via _unixsocket_.
  *

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]