This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barry-scott
Recipients
Date 2005-07-01.16:24:38
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
On Linux many ioctl request code values cannot be
passed to ioctl
because it assumes that the values are signed ints.
Value with the
top bit set 0x8000000 are common.

Changing the PyArg_ParseTuple calls to use "I" instead
of "i"
fixes the problem.

This may well also be the issue with bug 1112949
"ioctl has problems on 64 bit machines".

The attached patch fixes the problem in 2.4.1 and was
tested on FC4.
History
Date User Action Args
2007-08-23 14:32:52adminlinkissue1231069 messages
2007-08-23 14:32:52admincreate