mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* gc.c (init_GC): typo fix(rb_exc_new -> rb_exc_new2).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e3a8c62630
commit
a117cec653
1 changed files with 1 additions and 1 deletions
2
gc.c
2
gc.c
|
@ -1548,6 +1548,6 @@ Init_GC()
|
||||||
|
|
||||||
source_filenames = st_init_strtable();
|
source_filenames = st_init_strtable();
|
||||||
|
|
||||||
nomem_error = rb_exc_new(rb_eNoMemError, "failed to allocate memory");
|
nomem_error = rb_exc_new2(rb_eNoMemError, "failed to allocate memory");
|
||||||
rb_global_variable(&nomem_error);
|
rb_global_variable(&nomem_error);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue