summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-09-21 06:37:24 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-09-21 06:37:24 +0000
commit13243e5ad15f5d0d259b4850199183fdf9572f46 (patch)
treeac85733cc87fdfccc5b1e1e0b20aae1de610cf5a /ruby.c
parentfc57cd59ffe2cca34d6bd48962f0be47eed0f509 (diff)
matz - net library bug (by me)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ruby.c b/ruby.c
index 2bd485a6c2..ddff163dbb 100644
--- a/ruby.c
+++ b/ruby.c
@@ -816,6 +816,7 @@ load_file(fname, script)
rb_io_ungetc(f, c);
}
require_libraries(); /* Why here? unnatural */
+ if (NIL_P(c)) return;
}
rb_compile_file(fname, f, line_start);
if (script && ruby__end__seen) {