[issue11341] test_os fails
Charles-Francois Natali
report at bugs.python.org
Sat Feb 26 23:21:45 CET 2011
Charles-Francois Natali <neologix at free.fr> added the comment:
> Errno 75 is EOVERFLOW here (Linux), which doesn't seem to be mentioned in sendfile's man page.
> Can you describe your system? (CPU architecture, bitness, endianness, glibc/kernel version, etc.)
Just checked the source code:
in fs/read_write.c:do_sendfile
841 pos = *ppos;
842 if (unlikely(pos + count > max)) {
843 retval = -EOVERFLOW;
844 if (pos >= max)
845 goto fput_out;
846 count = max - pos;
847 }
and
869 if (*ppos > max)
870 retval = -EOVERFLOW;
----------
nosy: +neologix
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11341>
_______________________________________
More information about the Python-bugs-list
mailing list