[ruby-cvs:50665] nobu:r43522 (trunk): eval_intern.h: avoid undefined behavior of setjmp

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Nov 4 10:08:22 JST 2013


nobu	2013-11-04 10:08:21 +0900 (Mon, 04 Nov 2013)

  New Revision: 43522

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43522

  Log:
    eval_intern.h: avoid undefined behavior of setjmp
    
    * eval_intern.h (TH_EXEC_TAG, TH_JUMP_TAG): get rid of undefined
      behavior of setjmp() in rhs of assignment expression.
      [ISO/IEC 9899:1999] 7.13.1.1

  Modified files:
    trunk/ChangeLog
    trunk/eval_intern.h


More information about the ruby-cvs mailing list