[ruby-cvs:70586] ngoto:r63495 (trunk): ext/pty/pty.c: I_FIND before I_PUSH if possible

ngoto at ruby-lang.org ngoto at ruby-lang.org
Thu May 24 00:58:54 JST 2018


ngoto	2018-05-24 00:58:53 +0900 (Thu, 24 May 2018)

  New Revision: 63495

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

  Log:
    ext/pty/pty.c: I_FIND before I_PUSH if possible
    
    * ext/pty/pty.c: Check whether each STREAMS module is already pushed
      or not by using I_FIND ioctl call, before pushing it by using I_PUSH.
      Solved test failure on Solaris. On a Solaris 10 machine, ioctl I_PUSH
      "ldterm" twice was the cause of duplicated "\r".
      [Bug #14786] [ruby-dev:50552]

  Modified files:
    trunk/ext/pty/pty.c


More information about the ruby-cvs mailing list