1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/lang/python31/files
Jung-uk Kim 5045cff4a0 Fix fcntl module to accept 'unsigned long' type commands for ioctl(2).
Although POSIX says the type is 'int', all BSD variants (including Mac OS X)
have been using 'unsigned long' type for very long time and its use predates
the standard long enough.  For certain commands (e.g., TIOCSWINSZ, FIONBIO),
the Python value may get sign-extended on 64-bit platforms (by implicit type
promotion) and it causes annoying warnings from kernel such as this:

WARNING pid 24509 (python2.6): ioctl sign-extension ioctl ffffffff8004667e

Approved by:	python (maintainer timeout)
2010-07-19 21:59:28 +00:00
..
patch-Doc-library-fcntl.rst Fix fcntl module to accept 'unsigned long' type commands for ioctl(2). 2010-07-19 21:59:28 +00:00
patch-Lib-test_regrtest.py
patch-Lib-test-test_fcntl.py Fix fcntl module to accept 'unsigned long' type commands for ioctl(2). 2010-07-19 21:59:28 +00:00
patch-Lib-test-test_ioctl.py Fix fcntl module to accept 'unsigned long' type commands for ioctl(2). 2010-07-19 21:59:28 +00:00
patch-Lib-test-test_socket.py Fix fcntl module to accept 'unsigned long' type commands for ioctl(2). 2010-07-19 21:59:28 +00:00
patch-Modules-_ctypes-libffi-configure
patch-Modules-fcntlmodule.c Fix fcntl module to accept 'unsigned long' type commands for ioctl(2). 2010-07-19 21:59:28 +00:00
patch-setup.py