summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-06 06:20:43 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-06 06:20:43 +0000
commitfc2a1ad79f98544b46d07a18da48b27b75aef581 (patch)
treece8567f3821c98ccf6e730c457e345ca0ebbdb2f
parent616a47c5790887f6901801008ebbdce6705a1ca1 (diff)
* string.c (rb_str_rindex): must return -1 if unmatched.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--string.c1
-rw-r--r--version.h4
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 399fc74edd..ba4f8fa551 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Aug 6 15:19:39 2002 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * string.c (rb_str_rindex): must return -1 if unmatched.
+
Mon Aug 5 22:41:18 2002 Minero Aoki <aamine@loveruby.net>
* MANIFEST: add lib/racc/parser.rb.
diff --git a/string.c b/string.c
index e687fcc533..119852044e 100644
--- a/string.c
+++ b/string.c
@@ -912,6 +912,7 @@ rb_str_rindex(str, sub, pos)
}
s--;
}
+ return -1;
}
else {
return pos;
diff --git a/version.h b/version.h
index a0f96260a9..cb892361d5 100644
--- a/version.h
+++ b/version.h
@@ -1,4 +1,4 @@
#define RUBY_VERSION "1.7.2"
-#define RUBY_RELEASE_DATE "2002-08-01"
+#define RUBY_RELEASE_DATE "2002-08-06"
#define RUBY_VERSION_CODE 172
-#define RUBY_RELEASE_CODE 20020801
+#define RUBY_RELEASE_CODE 20020806