aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-22 12:29:04 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-22 12:29:04 +0000
commitb795b5c537692cabadbb50271b0f8e7ba1c1785b (patch)
treea2272068a350822e18cc8d478b725668002383df
parent3a7daf882bf737c2e9a6c7a9aece2424cb3f4547 (diff)
downloadruby-b795b5c537692cabadbb50271b0f8e7ba1c1785b.tar.gz
rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--io.c1
-rw-r--r--thread.c2
2 files changed, 2 insertions, 1 deletions
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.
* <i>read_io</i> and <i>write_io</i> 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 (?)