[issue11323] os.sendfile() bo failure on solaris

2011-02-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: Should be fixed in r88647. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 3.3 -Python 3.2 ___ Python tracker _

[issue11323] os.sendfile() bo failure on solaris

2011-02-26 Thread Antoine Pitrou
Antoine Pitrou 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

[issue11323] os.sendfile() bo failure on solaris

2011-02-26 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +rosslagerwall ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue11323] os.sendfile() bo failure on solaris

2011-02-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: It still fails under AMD64 OpenIndiana: == ERROR: test_offset_overflow (test.test_os.TestSendfile) -- Traceback (most recent

[issue11323] os.sendfile() bo failure on solaris

2011-02-25 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Committed in r88616. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue11323] os.sendfile() bo failure on solaris

2011-02-25 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' : http://www.python.org/dev/buildbot/all/builders/sparc%20solaris10%20gcc%203.x/builds/2658/steps/test/logs/stdio Patch in attachment. -- files: sendfile-test.patch keywords: patch messages: 129411 nosy: giampaolo.rodola, loewis priority: normal sev