[ruby-core:114668] [Ruby master Bug#19868] `Process::Status` methods for compatibility with `Fixnum`

Issue #19868 has been reported by nobu (Nobuyoshi Nakada). ---------------------------------------- Bug #19868: `Process::Status` methods for compatibility with `Fixnum` https://bugs.ruby-lang.org/issues/19868 * Author: nobu (Nobuyoshi Nakada) * Status: Open * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN ---------------------------------------- Looking at commit:54274b8c65a0981f1c69055a1513ba3c614dd675, noticed that `pst_rshift` contains shift by a negative integer, an unspecified behavior in C99. I think an exception would be ok for such argument, also we can suggest alternative methods to encourage the transition. https://github.com/nobu/ruby/tree/process_status-fixnum-compatibility -- https://bugs.ruby-lang.org/
participants (1)
-
nobu (Nobuyoshi Nakada)