Project

General

Profile

Actions

Bug #19868

closed

`Process::Status` methods for compatibility with `Fixnum`

Added by nobu (Nobuyoshi Nakada) about 1 year ago. Updated about 1 year ago.

Status:
Closed
Target version:
-
[ruby-core:114668]

Description

Looking at 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://github.com/ruby/ruby/pull/8392

Actions

Also available in: Atom PDF

Like0
Like0Like0