Skip to content

Commit a658ebd

Browse files
author
ocean
committed
* object.c (str_to_id): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent be45825 commit a658ebd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Wed Mar 16 22:20:25 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
2+
3+
* object.c (str_to_id): fixed typo.
4+
15
Wed Mar 16 18:08:32 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
26

37
* eval.c (rb_call0): reorganize "return" event post.

object.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1644,7 +1644,7 @@ str_to_id(str)
16441644
rb_raise(rb_eArgError, "empty symbol string");
16451645
}
16461646
if (RSTRING(str)->len != strlen(RSTRING(str)->ptr)) {
1647-
warn("Symbols should not contain NUL (\\0)");
1647+
rb_warn("Symbols should not contain NUL (\\0)");
16481648
}
16491649
return rb_intern(RSTRING(str)->ptr);
16501650
}

0 commit comments

Comments
 (0)