From 11f3462fb7e66d366224984bc38a0e6a5e7a50d6 Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 14 Dec 2007 08:38:18 +0000 Subject: * io.c (rb_f_p): RDoc update. a patch from murphy . [ruby-core:14010] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ io.c | 4 +++- string.c | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 96a2e967d0..839461d0fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Dec 14 16:10:50 2007 Yukihiro Matsumoto + + * io.c (rb_f_p): RDoc update. a patch from murphy . + [ruby-core:14010] + Fri Dec 14 16:06:18 2007 Yukihiro Matsumoto * string.c (rb_str_cmp): encoding aware comparison. diff --git a/io.c b/io.c index f0d314396b..d62270ed7f 100644 --- a/io.c +++ b/io.c @@ -4333,7 +4333,9 @@ rb_p(VALUE obj) /* for debug print within C code */ /* * call-seq: - * p(obj, ...) => nil + * p(obj) => obj + * p(obj1, obj2, ...) => [obj, ...] + * p() => nil * * For each object, directly writes * _obj_.+inspect+ followed by the current output diff --git a/string.c b/string.c index 217e255a90..0857596cd0 100644 --- a/string.c +++ b/string.c @@ -1410,7 +1410,7 @@ rb_str_cmp_m(VALUE str1, VALUE str2) static VALUE rb_str_casecmp(VALUE str1, VALUE str2) { - long i, len; + long len; int retval; rb_encoding *enc; char *p1, *p1end, *p2, *p2end; -- cgit v1.2.3