ruby-changes:67123
From: aycabta <ko1@a...>
Date: Wed, 11 Aug 2021 14:11:49 +0900 (JST)
Subject: [ruby-changes:67123] 2217b82af1 (master): Add logging about Errno::EPIPE
https://git.ruby-lang.org/ruby.git/commit/?id=2217b82af1 From 2217b82af10a2120e68ec4d1d52587a741f3c750 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Wed, 11 Aug 2021 14:03:55 +0900 Subject: Add logging about Errno::EPIPE --- test/readline/test_readline.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb index 73e3df1..28e6b31 100644 --- a/test/readline/test_readline.rb +++ b/test/readline/test_readline.rb @@ -537,6 +537,7 @@ module BasetestReadline https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline.rb#L537 log << "** NEWLINE **" _in.write "\n" rescue Errno::EPIPE + log << "** Errno::EPIPE **" # The "write" will fail if Reline crashed by SIGINT. end loop do -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/