Export to GitHub

pysendfile - issue #5

Sendfile should return the right type depending on whether Python has large file support or not


Posted on Feb 3, 2011 by Happy Monkey

Something like this:

if !defined(HAVE_LARGEFILE_SUPPORT)

    return Py_BuildValue("iL", sts, offset);

else

    return Py_BuildValue("il", sts, offset);

endif

Comment #1

Posted on Feb 10, 2011 by Happy Monkey

Fixed.

Status: Fixed

Labels:
Type-Defect Priority-Medium