diff --git a/io.c b/io.c index 888fee9175..4b55079f23 100644 --- a/io.c +++ b/io.c @@ -6937,6 +6937,7 @@ VALUE pipe_close(VALUE args) * If a block is given, the block is called and * returns the value of the block. * read_io and write_io are sent to the block as arguments. + * In this form, read_io and write_io are closed when IO.pipe returns. * * Not available on all platforms. * diff --git a/thread.c b/thread.c index c154c057b6..749864aaed 100644 --- a/thread.c +++ b/thread.c @@ -2006,7 +2006,7 @@ rb_thread_priority_set(VALUE thread, VALUE prio) #if defined(NFDBITS) && defined(HAVE_RB_FD_INIT) /* - * several Unix platform supports file descriptors bigger than FD_SETSIZE + * several Unix platforms supports file descriptors bigger than FD_SETSIZE * in select(2) system call. * * - Linux 2.2.12 (?)