mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
5045cff4a0
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) |
||
---|---|---|
.. | ||
patch-Doc-library-fcntl.rst | ||
patch-Lib-test_regrtest.py | ||
patch-Lib-test-test_fcntl.py | ||
patch-Lib-test-test_ioctl.py | ||
patch-Lib-test-test_socket.py | ||
patch-Modules-_ctypes-libffi-configure | ||
patch-Modules-fcntlmodule.c | ||
patch-setup.py |