ext/kgio/read_write.c in kgio-2.3.2 vs ext/kgio/read_write.c in kgio-2.3.3
- old
+ new
@@ -124,11 +124,11 @@
* io.kgio_read(maxlen, buffer) -> buffer
*
* Reads at most maxlen bytes from the stream socket. Returns with a
* newly allocated buffer, or may reuse an existing buffer if supplied.
*
- * Calls whatever is is defined to be the kgio_wait_readable method
+ * This may block and call any method defined to +kgio_wait_readable+
* for the class.
*
* Returns nil on EOF.
*
* This behaves like read(2) and IO#readpartial, NOT fread(3) or
@@ -357,10 +357,10 @@
*
* io.kgio_write(str) -> nil
*
* Returns nil when the write completes.
*
- * Calls whatever is is defined to be the kgio_wait_writable method
+ * This may block and call any method defined to +kgio_wait_writable+
* for the class.
*/
static VALUE kgio_write(VALUE io, VALUE str)
{
return my_write(io, str, 1);