* 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
This commit is contained in:
usa 2007-04-04 03:29:31 +00:00
Родитель 1f9d0992ab
Коммит 7f8eb55d6c
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -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