Project

General

Profile

« Previous | Next » 

Revision 26cbe46e

Added by ngoto (Naohisa Goto) almost 6 years ago

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]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e