Message143298
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. |
|
Date |
User |
Action |
Args |
2011-09-01 05:06:59 | brett.cannon | set | recipients:
+ brett.cannon, baikie, neologix, python-dev |
2011-09-01 05:06:59 | brett.cannon | set | messageid: <1314853619.31.0.948232518666.issue12837@psf.upfronthosting.co.za> |
2011-09-01 05:06:58 | brett.cannon | link | issue12837 messages |
2011-09-01 05:06:58 | brett.cannon | create | |
|