diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2014-04-01 11:31:54 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2014-04-01 11:31:54 +0000 |
commit | 31a3bf7cad6d38086bd8f38d7c11af43a992f607 (patch) | |
tree | fb3930079a130ad6d100153888696d6f72f89fc5 /misc/py-pexpect | |
parent | d6da3e66a0330924d85a4405a7001cb257a070b3 (diff) | |
download | ports-31a3bf7cad6d38086bd8f38d7c11af43a992f607.tar.gz ports-31a3bf7cad6d38086bd8f38d7c11af43a992f607.zip |
Notes
Diffstat (limited to 'misc/py-pexpect')
-rw-r--r-- | misc/py-pexpect/files/patch-pexpect-__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/py-pexpect/files/patch-pexpect-__init__.py b/misc/py-pexpect/files/patch-pexpect-__init__.py index 425326bbfac0..6b855a9f2430 100644 --- a/misc/py-pexpect/files/patch-pexpect-__init__.py +++ b/misc/py-pexpect/files/patch-pexpect-__init__.py @@ -8,7 +8,7 @@ - if TIOCSWINSZ == 2148037735: - # Same bits, but with sign. - TIOCSWINSZ = -2146929561 -+ TIOCSWINSZ = getattr(termios, 'TIOCSWINSZ', 2148037735L) ++ TIOCSWINSZ = getattr(termios, 'TIOCSWINSZ', 2148037735) # Note, assume ws_xpixel and ws_ypixel are zero. s = struct.pack('HHHH', rows, cols, 0, 0) fcntl.ioctl(self.fileno(), TIOCSWINSZ, s) |