ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/AIO.xs
(Generate patch)

Comparing IO-AIO/AIO.xs (file contents):
Revision 1.76 by root, Thu Oct 26 12:38:04 2006 UTC vs.
Revision 1.77 by root, Thu Oct 26 13:25:40 2006 UTC

780 { 780 {
781 off_t sbytes; 781 off_t sbytes;
782 res = sendfile (ifd, ofd, offset, count, 0, &sbytes, 0); 782 res = sendfile (ifd, ofd, offset, count, 0, &sbytes, 0);
783 783
784 if (res < 0 && sbytes) 784 if (res < 0 && sbytes)
785 /* maybe only on EAGAIN only: as usual, the manpage leaves you guessing */ 785 /* maybe only on EAGAIN: as usual, the manpage leaves you guessing */
786 res = sbytes; 786 res = sbytes;
787 } 787 }
788 788
789# elif __hpux 789# elif __hpux
790 res = sendfile (ofd, ifd, offset, count, 0, 0); 790 res = sendfile (ofd, ifd, offset, count, 0, 0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines