summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-09 02:17:46 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-09 02:17:46 +0000
commite2f916d925ace9199ec42dd8b257849c7575d4e4 (patch)
treed4d015135e8b21cdfef628bc614aa46e1286e44a
parent09acf5e4a5a3374de04c06709d3d9c810e1d1dc4 (diff)
merges r21329 from trunk into ruby_1_9_1.
* random.c (rb_f_srand): update RDoc. [ruby-core:21113] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--random.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b48e26e12..e9f5bd30b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Jan 5 07:58:37 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * random.c (rb_f_srand): update RDoc. [ruby-core:21113]
+
Thu Jan 8 07:30:52 2009 Tanaka Akira <akr@fsij.org>
* lib/open-uri.rb (OpenURI.redirectable?): reverted https redirection.
diff --git a/random.c b/random.c
index b0d2d03a0..6fded25ce 100644
--- a/random.c
+++ b/random.c
@@ -342,7 +342,7 @@ random_seed(void)
* srand(number=0) => old_seed
*
* Seeds the pseudorandom number generator to the value of
- * <i>number</i>.<code>to_i.abs</code>. If <i>number</i> is omitted
+ * <i>number</i>. If <i>number</i> is omitted
* or zero, seeds the generator using a combination of the time, the
* process id, and a sequence number. (This is also the behavior if
* <code>Kernel::rand</code> is called without previously calling