ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libeio/eio.c
(Generate patch)

Comparing libeio/eio.c (file contents):
Revision 1.74 by root, Mon Jun 20 07:28:15 2011 UTC vs.
Revision 1.75 by root, Wed Jun 29 10:32:55 2011 UTC

1006 1006
1007 /* according to source inspection, this is correct, and useful behaviour */ 1007 /* according to source inspection, this is correct, and useful behaviour */
1008 if (sbytes) 1008 if (sbytes)
1009 res = sbytes; 1009 res = sbytes;
1010 1010
1011# elif defined (__APPLE__) 1011# elif defined (__APPLE__) && 0 /* broken, as everything on os x */
1012 off_t sbytes = count; 1012 off_t sbytes = count;
1013 res = sendfile (ifd, ofd, offset, &sbytes, 0, 0); 1013 res = sendfile (ifd, ofd, offset, &sbytes, 0, 0);
1014 1014
1015 /* according to the manpage, sbytes is always valid */ 1015 /* according to the manpage, sbytes is always valid */
1016 if (sbytes) 1016 if (sbytes)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines