зеркало из https://github.com/github/ruby.git
* load.c (load_failed): use more accurate error message.
[ruby-core:23851] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
59c74fab79
Коммит
208a51ffa3
|
@ -1,3 +1,8 @@
|
|||
Sun May 30 18:25:55 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* load.c (load_failed): use more accurate error message.
|
||||
[ruby-core:23851]
|
||||
|
||||
Sun May 30 16:54:34 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* file.c (rb_file_directory_p): update rdoc. a patch from Ilkka
|
||||
|
|
2
load.c
2
load.c
|
@ -550,7 +550,7 @@ search_required(VALUE fname, volatile VALUE *path, int safe_level)
|
|||
static void
|
||||
load_failed(VALUE fname)
|
||||
{
|
||||
rb_raise(rb_eLoadError, "no such file to load -- %s",
|
||||
rb_raise(rb_eLoadError, "cannot load such file -- %s",
|
||||
RSTRING_PTR(fname));
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче