[Bug:1.8] $! = nil in at_exit


#1

e$B1sF#$G$9!#e(B

1.8.5 e$B0JA0$G$O!"e(Bat_exit e$B$NCf$Ge(B $! = nil
e$B$r$9$k$3$H$G%9%?%C%/%H%l!<%9$Ne(B
e$B=PNO$r;_$a$k$3$H$,$G$-$^$7$?!#e(B

$ ruby -ve ‘at_exit { $! = nil }; raise’
ruby 1.8.5 (2006-08-25) [i486-linux]

1.8.6 e$B0J9_$G$O$3$l$,$G$-$J$/$J$C$F$$$^$9!#e(B

$ ruby18 -ve ‘at_exit { $! = nil }; raise’
ruby 1.8.7 (2008-11-08 revision 20151) [i686-linux]
-e:1: unhandled exception

e$B%9%?%C%/%H%l!<%9$r<+J,$G@07A$7$FI=<($7$?$$$H$-$K!"e(B1.8.5
e$B$N5sF0$NJ}$,e(B
e$BJXMx$G$9!#e(B