Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sigtrap19 #2110

Merged
merged 3 commits into from Feb 13, 2013
Merged

Sigtrap19 #2110

merged 3 commits into from Feb 13, 2013

Conversation

sdaubert
Copy link
Contributor

Make spec 'Signal.trap ignores the signal when passed nil' pass for rx19

  - extract Signal.trap from kernel/common/signal.rb to
    kernel/common/signal18.rb;
  - create a new file kernel/common/signal19.rb with new version for
    Signal.trap:
      - in case stattement, add a new +when nil+ statetement which
        set +prc+ to +nil+;
      - in +when "IGNORE", "SIG_IGN"+ statement, +prc+ is set to
        "IGNORE" string;
      - in Rubinius.watch_signal, replace +prc.nil?+ with
        +prc.nil? || prc == 'IGNORE'+;
      - return statements now return +nil+ when +old+ is false
        instead of "IGNORE";
  - modify kernel/common/load_order*.
  modify first Rubinius.watch_signal as second in previous commit.

spec/tags/19/ruby/core/signal/trap_tags.txt:
  remove fail tag on core/signal/trap spec.
@brixen brixen merged commit 5940d97 into rubinius:master Feb 13, 2013
@sdaubert sdaubert deleted the sigtrap19 branch February 13, 2013 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants