diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-15 01:25:04 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-15 21:05:39 +0900 |
commit | 155f64e3c4ba23f0e85e8d69facceb21a487dccd (patch) | |
tree | f0c79b8bc3ddeedd98326dc45a5dd8cfc1917d08 /NEWS.md | |
parent | d72fd1e45b192ab507f8170ceec1328c2aae7bb1 (diff) |
Raise EPIPE at broken pipe for the backward compatibility
Instead of SignalException for SIGPIPE, raise `Errno::EPIPE` with
instance variable `signo` and re-send that signal at exit.
[Feature #14413]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3035
Diffstat (limited to 'NEWS.md')
-rw-r--r-- | NEWS.md | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -149,9 +149,8 @@ Excluding feature bug fixes. * This is experimental; if it brings a big incompatibility issue, it may be reverted until 2.8/3.0 release. -* When writing to STDOUT redirected to a closed pipe, SignalException - is raised now instead of Errno::EPIPE, so that no broken pipe error - message will be shown. [[Feature #14413]] +* When writing to STDOUT redirected to a closed pipe, no broken pipe + error message will be shown now. [[Feature #14413]] ## Stdlib compatibility issues |