httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Querna <c...@force-elite.com>
Subject Re: apr_socket_sendfile not found on OS/X?
Date Sat, 03 Dec 2005 18:51:08 GMT
Paul Querna wrote:
> Ian Holsman wrote:
>> Hi.
>>
>> I just checked out the latest trunk of apr & httpd on my mac, and 
>> can't build it anymore. it is complaining about apr_socket_sendfile 
>> not being defined.
>>
>> so I checked .. and apr.h has APR_HAS_SENDFILE as 0.
>>
>> the problem is sendfile_nonblocking calls apr_socket_sendfile ;(
> mac/darwin doesn't support sendfile at all.
>
> I don't know how you are getting sendfile_nonblocking called at all, 
> since it is all wrapped by #if APR_HAS_SENDFILE
>
> -Paul
Meh.

Someone didn't wrap sendfile_nonblocking itself under APR_HAS_SENDFILE 
when they re-factored it :-)

Fixed in trunk/r351997.

-Paul

Mime
View raw message