summaryrefslogtreecommitdiff
path: root/lang/python32/files/patch-Modules-fcntlmodule.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove expired lang/python32Ruslan Makhmatkhanov2016-02-021-53/+0
| | | | | | | | | Python 3.2 has reached it's EOL. Please update to Python 3.5 With hat: python Notes: svn path=/head/; revision=407843
* - Update to 3.1.3Wen Heping2010-12-141-44/+44
| | | | Notes: svn path=/head/; revision=266272
* Fix fcntl module to accept 'unsigned long' type commands for ioctl(2).Jung-uk Kim2010-07-191-0/+53
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) Notes: svn path=/head/; revision=257978