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 pitrou
Recipients giampaolo.rodola, loewis, pitrou, rosslagerwall
Date 2011-02-26.14:16:43
SpamBayes Score 2.6362582e-07
Marked as misclassified No
Message-id <1298729804.36.0.280162377116.issue11323@psf.upfronthosting.co.za>
In-reply-to
Content
Ok, so the root cause is that sendfile() under Solaris can fail with EINVAL when the offset is past the end of file (but only on 64-bit builds, strangely :-)). Here is a patch, tested under Linux, 32-bit OpenSolaris and 64-bit OpenSolaris. It also uses a more reasonable data size for the tests, since 10MB makes it annoying to trace problems.
History
Date User Action Args
2011-02-26 14:16:44pitrousetrecipients: + pitrou, loewis, giampaolo.rodola, rosslagerwall
2011-02-26 14:16:44pitrousetmessageid: <1298729804.36.0.280162377116.issue11323@psf.upfronthosting.co.za>
2011-02-26 14:16:43pitroulinkissue11323 messages
2011-02-26 14:16:43pitroucreate