[ruby-cvs:71567] normal:r64475 (trunk): thread.c (rb_thread_fd_select): fix off-by-one with sigwait_fd

normal at ruby-lang.org normal at ruby-lang.org
Mon Aug 20 05:40:43 JST 2018


normal	2018-08-20 05:40:42 +0900 (Mon, 20 Aug 2018)

  New Revision: 64475

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

  Log:
    thread.c (rb_thread_fd_select): fix off-by-one with sigwait_fd
    
    select(2) needs the nfds argument to be one higher than the
    largest FD in the sets :x

  Modified files:
    trunk/thread.c


More information about the ruby-cvs mailing list