Antoine Pitrou <pit...@free.fr> added the comment: 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.
---------- stage: -> patch review versions: +Python 3.2 -Python 3.3 Added file: http://bugs.python.org/file20913/test_sendfile.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11323> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com