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.32 by root, Mon Aug 22 23:20:37 2005 UTC vs.
Revision 1.33 by root, Mon Aug 22 23:21:57 2005 UTC

450 { 450 {
451 off_t sbytes; 451 off_t sbytes;
452 res = sendfile (ifd, ofd, offset, count, 0, &sbytes, 0); 452 res = sendfile (ifd, ofd, offset, count, 0, &sbytes, 0);
453 453
454 if (!res && errno == EAGAIN) 454 if (!res && errno == EAGAIN)
455 /* maybe on others, too, as usual, the manpage leaves you guessing */
455 res = sbytes; 456 res = sbytes;
456 } 457 }
457 458
458#elif __hpux 459#elif __hpux
459 res = sendfile (ofd, ifd, offset, count, 0, 0); 460 res = sendfile (ofd, ifd, offset, count, 0, 0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines