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 brett.cannon
Recipients baikie, brett.cannon, neologix, python-dev
Date 2011-09-01.05:06:58
SpamBayes Score 0.00013123272
Marked as misclassified No
Message-id <1314853619.31.0.948232518666.issue12837@psf.upfronthosting.co.za>
In-reply-to
Content
This is now generating a compiler warning under OS X because the older POSIX standard is followed where socklen_t can be unsigned.

Attached is a patch to cast msg_controllen to a size big enough to hold either signed 2**31-1 or unsigned 2**32-1 (i.e., long long) to silence the compiler warning. I would check the patch in myself but test_socket is failing under OS X right now so I can't verify I didn't do something extremely stupid with the cast somehow.
History
Date User Action Args
2011-09-01 05:06:59brett.cannonsetrecipients: + brett.cannon, baikie, neologix, python-dev
2011-09-01 05:06:59brett.cannonsetmessageid: <1314853619.31.0.948232518666.issue12837@psf.upfronthosting.co.za>
2011-09-01 05:06:58brett.cannonlinkissue12837 messages
2011-09-01 05:06:58brett.cannoncreate