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 gregory.p.smith
Recipients fbvortex, gregory.p.smith, jafo, loewis, msavory, nicm
Date 2008-03-18.06:34:30
SpamBayes Score 0.081541926
Marked as misclassified No
Message-id <1205822072.75.0.0862870438834.issue1471@psf.upfronthosting.co.za>
In-reply-to
Content
i'd say the patch is fine.

on linux ioctl takes an int.
on openbsd it takes an unsigned long.
on something else it might even take its own type like an ioctl_t.

regardless, treating the parameter as either a long or unsigned long
will work properly as that will cast downwards to the actual used
parameter type correctly in the C code.
History
Date User Action Args
2008-03-18 06:34:33gregory.p.smithsetspambayes_score: 0.0815419 -> 0.081541926
recipients: + gregory.p.smith, loewis, jafo, fbvortex, nicm, msavory
2008-03-18 06:34:32gregory.p.smithsetspambayes_score: 0.0815419 -> 0.0815419
messageid: <1205822072.75.0.0862870438834.issue1471@psf.upfronthosting.co.za>
2008-03-18 06:34:31gregory.p.smithlinkissue1471 messages
2008-03-18 06:34:31gregory.p.smithcreate