diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-04-04 03:29:31 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-04-04 03:29:31 +0000 |
commit | 7f8eb55d6c3f6132d84ce46ee468d5e660253471 (patch) | |
tree | d36cde6deef25fd8bce604a340eb235744976704 | |
parent | 1f9d0992aba18316b2e08ce2ce00b0b5eb524e48 (diff) |
* error.c (rb_notimplement): should show the name of this func,
not callee.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | error.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Wed Apr 4 12:29:02 2007 NAKAMURA Usaku <usa@ruby-lang.org> + + * error.c (rb_notimplement): should show the name of this func, + not callee. + Wed Apr 4 10:18:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * io.c (popen_exec): should not close close-on-exec FDs. @@ -1029,7 +1029,7 @@ rb_notimplement(void) { rb_raise(rb_eNotImpError, "The %s() function is unimplemented on this machine", - rb_id2name(rb_frame_callee())); + rb_id2name(rb_frame_this_func())); } void |