From: noreply@... Date: 2007-05-10T12:32:15+09:00 Subject: [ ruby-Bugs-10428 ] exit from within block returns wrong value. Bugs item #10428, was opened at 2007-04-28 13:53 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=10428&group_id=426 Category: Core Group: 1.8.6 >Status: Deleted Resolution: None Priority: 3 Submitted By: Jim Freeze (jfreeze) Assigned to: Nobody (None) Summary: exit from within block returns wrong value. Initial Comment: 1.8.5 ruby -e 'at_exit { exit(1) }; echo $? #=> 1 1.8.6 ruby -e 'at_exit { exit(1) }; echo $? #=> 0 I believe the 1.8.6 return value is incorrect. ---------------------------------------------------------------------- >Comment By: Yukihiro Matsumoto (matz) Date: 2007-05-10 12:32 Message: duplicate ---------------------------------------------------------------------- Comment By: Nobuyoshi Nakada (nobu) Date: 2007-05-10 09:56 Message: This is an already fixed bug. ---------------------------------------------------------------------- Comment By: Jim Freeze (jfreeze) Date: 2007-04-29 02:53 Message: Ok, thanks. I thought it was supposed to be there, but couldn't find it when I did the search. Does anyone know when the next release is? This bug makes 1.8.6 somewhat useless for several use cases. Jim ---------------------------------------------------------------------- Comment By: Alexey Verkhovsky (alexeyv) Date: 2007-04-28 14:51 Message: This is a duplicate. The bug is already fixed on 1_8 branch, but not released yet. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=10428&group_id=426