diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2008-03-19 23:03:25 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2008-03-19 23:03:25 (GMT) |
commit | a5cfcad0e35e394adb5d25a5f5fbc3065fea5b85 (patch) | |
tree | 3f7fe7e5325a12965f5e450b8132abac7c873ef5 /Lib/profile.py | |
parent | 48581c5f08d368942840f99687fce7f10758fa7c (diff) | |
download | cpython-a5cfcad0e35e394adb5d25a5f5fbc3065fea5b85.zip cpython-a5cfcad0e35e394adb5d25a5f5fbc3065fea5b85.tar.gz cpython-a5cfcad0e35e394adb5d25a5f5fbc3065fea5b85.tar.bz2 |
Prevent ioctl op codes from being sign extended from int to unsigned long
when used on platforms that actually define ioctl as taking an unsigned long.
(the BSDs and OS X / Darwin)
Adds a unittest for fcntl.ioctl that tests what happens with both positive and
negative numbers.
This was done because of issue1471 but I'm not able to reproduce -that- problem
in the first place on Linux 32bit or 64bit or OS X 10.4 & 10.5 32bit or 64 bit.
Diffstat (limited to 'Lib/profile.py')
0 files changed, 0 insertions, 0 deletions