summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-12-11 02:49:37 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-12-11 02:49:37 +0000
commit9e24e523a6b90dce4028e9eb07b6a1ca07d04974 (patch)
treeac5a480c875b2c7e08acdd29897c738e109338d1
parent4ddc3c196b75150f259450daf2956ff72de87651 (diff)
* variable.c (rb_define_const): typo fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--variable.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 00c14a1b31..47b354529c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Dec 11 11:46:18 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * variable.c (rb_define_const): typo fixed.
+
Mon Dec 11 09:36:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_aset): index double decode problem.
diff --git a/variable.c b/variable.c
index a617e7e8d7..44e2403639 100644
--- a/variable.c
+++ b/variable.c
@@ -1686,7 +1686,7 @@ rb_define_const(klass, name, val)
ID id = rb_intern(name);
if (!rb_is_const_id(id)) {
- rb_warn("rb_define_const: invalide name `%s' for constant", name);
+ rb_warn("rb_define_const: invalid name `%s' for constant", name);
}
if (klass == rb_cObject) {
rb_secure(4);