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 serhiy.storchaka
Recipients brett.cannon, serhiy.storchaka
Date 2014-11-08.14:54:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1415458478.26.0.185263171518.issue22821@psf.upfronthosting.co.za>
In-reply-to
Content
Arguments of wrong type is passed to C function fcntl() in the fcntl module.

Third argument of fcntl() should be either pointer to binary structure or C int. But C long is passed instead. All works on platforms where sizeof(long) == sizeof(int) or on little-endian platforms, but on big-endian platform with sizeof(long) != sizeof(int) this will pass wrong value.
History
Date User Action Args
2014-11-08 14:54:38serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon
2014-11-08 14:54:38serhiy.storchakasetmessageid: <1415458478.26.0.185263171518.issue22821@psf.upfronthosting.co.za>
2014-11-08 14:54:38serhiy.storchakalinkissue22821 messages
2014-11-08 14:54:37serhiy.storchakacreate