Instead of my last suggestion to disable sendfile on 10.5, I've fixed apr_socket_sendfile. The patch is attached. You can apply it by checking out trunk:
cd apr/network_io/unix patch -p0 < sendrecv.c.patch Now the sendfile test case passes on OS X. This is my first real patch, so suggestions are welcome. Geoff
sendrecv.c.patch
Description: /
