[ruby-cvs:73344] normal:r66244 (trunk): io.c (io_fflush): eliminate redundant rb_io_check_closed

normal at ruby-lang.org normal at ruby-lang.org
Thu Dec 6 19:41:07 JST 2018


normal	2018-12-06 19:41:07 +0900 (Thu, 06 Dec 2018)

  New Revision: 66244

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66244

  Log:
    io.c (io_fflush): eliminate redundant rb_io_check_closed
    
    There is no need to call this function twice in a row since
    thread switching won't happen in-between calls to it.

  Modified files:
    trunk/io.c


More information about the ruby-cvs mailing list