diff options
author | Nobuyoshi Nakada <[email protected]> | 2022-11-30 19:06:12 +0900 |
---|---|---|
committer | git <[email protected]> | 2022-11-30 10:09:17 +0000 |
commit | cf3b305c43b81161c2c9bdfba48823ecf7e41c6c () | |
tree | c34239e0c5b9c579b0c66048e7039979edb4cf9c /lib/un.rb | |
parent | c8bfbbc25e4bc7c3ff59fae40471923a2793ba48 (diff) |
[ruby/un] wait_writable: close opened file
https://.com/ruby/un/commit/b08aeb9c48
-rw-r--r-- | lib/un.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -256,7 +256,7 @@ def wait_writable wait = (wait = options[:w]) ? Float(wait) : 0.2 argv.each do |file| begin - File.open(file, "r+b") rescue Errno::ENOENT break rescue Errno::EACCES => e |