diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-24 20:50:29 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-24 20:50:29 +0000 |
commit | a41386a2dc56ae15504669dd6e94675b4c4b7a6b (patch) | |
tree | 0b2822762d8e2c575b6d9325a3972abc2298fafc /ruby.c | |
parent | c50220619be5c1d83768611a41d27442dd2056de (diff) | |
download | ruby-a41386a2dc56ae15504669dd6e94675b4c4b7a6b.tar.gz |
ruby.c (open_load_file): avoid shadowing variable for errno
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1965,7 +1965,7 @@ open_load_file(VALUE fname_v, int *xflag) #endif if ((fd = rb_cloexec_open(fname, mode, 0)) < 0) { - int e = errno; + e = errno; if (!rb_gc_for_fd(e)) { rb_load_fail(fname_v, strerror(e)); } |