Message129550
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. |
|
Date |
User |
Action |
Args |
2011-02-26 14:16:44 | pitrou | set | recipients:
+ pitrou, loewis, giampaolo.rodola, rosslagerwall |
2011-02-26 14:16:44 | pitrou | set | messageid: <1298729804.36.0.280162377116.issue11323@psf.upfronthosting.co.za> |
2011-02-26 14:16:43 | pitrou | link | issue11323 messages |
2011-02-26 14:16:43 | pitrou | create | |
|