diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-27 14:57:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-27 14:57:08 +0000 |
commit | 47563655037ed453607de33b86fcc094878769ac (patch) | |
tree | 0ea47ac8133bcbb865366ece9ede57ee4f8d1a7a /.gdbinit | |
parent | 0d40bf8ffec9c9431194ccb8f7c4dfc39446181e (diff) | |
download | ruby-47563655037ed453607de33b86fcc094878769ac.tar.gz |
dir.c: err at glob failure
* dir.c (glob_helper): raise a SystemCallError exception when
opendir() failed, except for ENOENT, ENOTDIR, and EACCES. this
behavior predates 1.0; the comments in glob.c claimed that
glob() returned -1 on error but actualy the pointer to a global
variable, then dir_glob() did check only -1 as the comments, and
ignored actual errors. [ruby-core:80226] [Bug #13276]
dir.c: ruby_glob_funcs_t
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.gdbinit')
0 files changed, 0 insertions, 0 deletions