summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-01 04:20:05 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-01 04:20:05 +0000
commit9be62b3b1aeb25114c6867f54c5d3a76d9f1db0b (patch)
treee6ed52b0be202945dd94207d95621d3f7e60b9bf
parent2fa90ebea09aac25b315615c0b81d0e4eca6cb89 (diff)
* process.c (rb_f_sleep): RDoc disambiguation. [ruby-talk:332632]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--process.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6417f21663..fdac0ae480 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Apr 1 13:16:19 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * process.c (rb_f_sleep): RDoc disambiguation. [ruby-talk:332632]
+
Tue Mar 31 15:17:37 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in: fixed the help strings for the header and library
diff --git a/process.c b/process.c
index 4b39d897fe..f86ee199a6 100644
--- a/process.c
+++ b/process.c
@@ -3220,8 +3220,8 @@ rb_f_spawn(int argc, VALUE *argv)
* Suspends the current thread for _duration_ seconds (which may be any number,
* including a +Float+ with fractional seconds). Returns the actual number of
* seconds slept (rounded), which may be less than that asked for if another
- * thread calls <code>Thread#run</code>. Zero arguments causes +sleep+ to sleep
- * forever.
+ * thread calls <code>Thread#run</code>. Called without an argument, sleep()
+ * will sleep forever.
*
* Time.new #=> 2008-03-08 19:56:19 +0900
* sleep 1.2 #=> 1