httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Holsman <li...@holsman.net>
Subject Re: apr_socket_sendfile not found on OS/X?
Date Sat, 03 Dec 2005 23:45:04 GMT
Thanks Paul,
I didn't realize the trunk wasn't 2.2.x.. otherwise I would have just 
fixed it myself ;-)

Paul Querna wrote:
> 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