diff options
| author | Martin Wilke <miwi@FreeBSD.org> | 2012-04-11 12:52:17 +0000 |
|---|---|---|
| committer | Martin Wilke <miwi@FreeBSD.org> | 2012-04-11 12:52:17 +0000 |
| commit | 19425757a8e3a76d2ae6c145867d1e970ffba860 (patch) | |
| tree | a450e84c87cac977f45b0e9b0e732685bb0d9ce0 /lang/python32/files/patch-Lib-test-test_ioctl.py | |
| parent | b1791a5113acfe8c8336d8f91f761289865ef562 (diff) | |
Notes
Diffstat (limited to 'lang/python32/files/patch-Lib-test-test_ioctl.py')
| -rw-r--r-- | lang/python32/files/patch-Lib-test-test_ioctl.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/lang/python32/files/patch-Lib-test-test_ioctl.py b/lang/python32/files/patch-Lib-test-test_ioctl.py deleted file mode 100644 index 2488bc755583..000000000000 --- a/lang/python32/files/patch-Lib-test-test_ioctl.py +++ /dev/null @@ -1,23 +0,0 @@ ---- Lib/test/test_ioctl.py.orig 2009-08-13 04:51:18.000000000 -0400 -+++ Lib/test/test_ioctl.py 2010-06-24 13:35:29.000000000 -0400 -@@ -41,18 +41,9 @@ class IoctlTests(unittest.TestCase): - raise unittest.SkipTest('pty module required') - mfd, sfd = pty.openpty() - try: -- if termios.TIOCSWINSZ < 0: -- set_winsz_opcode_maybe_neg = termios.TIOCSWINSZ -- set_winsz_opcode_pos = termios.TIOCSWINSZ & 0xffffffff -- else: -- set_winsz_opcode_pos = termios.TIOCSWINSZ -- set_winsz_opcode_maybe_neg, = struct.unpack("i", -- struct.pack("I", termios.TIOCSWINSZ)) -- -+ set_winsz_opcode = termios.TIOCSWINSZ - our_winsz = struct.pack("HHHH",80,25,0,0) -- # test both with a positive and potentially negative ioctl code -- new_winsz = fcntl.ioctl(mfd, set_winsz_opcode_pos, our_winsz) -- new_winsz = fcntl.ioctl(mfd, set_winsz_opcode_maybe_neg, our_winsz) -+ new_winsz = fcntl.ioctl(mfd, set_winsz_opcode, our_winsz) - finally: - os.close(mfd) - os.close(sfd) |
