diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-14 07:03:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-14 07:03:01 +0000 |
commit | a4e6f7d707293a71727ad18e75aae9639ba423f3 (patch) | |
tree | 490c0990e164882da43fdb2c52461723d7ca47c6 /ChangeLog | |
parent | fcadcd3e68982ee727c0cc59bedadfc16b9ca214 (diff) | |
download | ruby-a4e6f7d707293a71727ad18e75aae9639ba423f3.tar.gz |
ruby.c: reduce fstat
* file.c (ruby_is_fd_loadable): now return -1 if loadable but
may block.
* ruby.c (open_load_file): wait to read by the result of
ruby_is_fd_loadable, without fstat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Mon Mar 14 16:02:59 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * file.c (ruby_is_fd_loadable): now return -1 if loadable but + may block. + + * ruby.c (open_load_file): wait to read by the result of + ruby_is_fd_loadable, without fstat. + Mon Mar 14 13:38:38 2016 NARUSE, Yui <naruse@ruby-lang.org> * numeric.c (fix2str): improve r54092 like rb_int2big(). |