diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-11 22:49:27 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-11 22:49:27 +0000 |
commit | fae144419cbc64fcbc027a6e8bddf723f389d784 (patch) | |
tree | d49288a00cdad5ea08eaeb84d71617eb55f29f62 /.editorconfig | |
parent | 3ee57230b3f68e56ac0a6b1bbb941cee16cb7c37 (diff) |
IO#advise should not raise Errno::ENOSYS
As it is just a hint the kernel is free to ignore,
IO#advise already succeeds when posix_fadvise is not
available build time at all. Following that, if posix_fadvise
was available at build time but not implemented in the running
kernel, we should also ignore it.
* io.c (do_io_advise): do not raise on ENOSYS
* test/ruby/test_io.rb (test_advise): do not skip on Errno::ENOSYS
(test_advise_pipe): ditto
[ruby-core:72066] [Feature #11806]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions