1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* eval.c (POP_VARS): propagate DVAR_DONT_RECYCLE, if

SCOPE_DONT_RECYCLE of ruby_scope is set.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2001-02-02 11:39:52 +00:00
parent 78f3616c56
commit a137ddddee
10 changed files with 285 additions and 110 deletions

2
ruby.c
View file

@ -728,7 +728,7 @@ load_file(fname, script)
FILE *fp = fopen(fname, "r");
if (fp == NULL) {
rb_raise(rb_eLoadError, "No such file to load -- %s", fname);
rb_load_fail(fname);
}
fclose(fp);