You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Greg Ames <gr...@apache.org> on 2002/07/02 20:34:21 UTC

[PATCH] FreeBSD sendfile [was: new httpd build running on daedalus]

[moved to dev@apr]

Justin Erenkrantz wrote:
> 
> On Fri, Jun 28, 2002 at 04:40:11PM -0400, Jeff Trawick wrote:
> > > What is the change in the FreeBSD API?
> >
> > before the kernel we picked up Wednesday night: bytes to send includes headers
> > after the kernel we picked up Wednesday night: bytes to send doesn't
> >                                         include headers
> 
> Ouch.
> 
> Good-bye binary compatibility on FreeBSD.  -- justin

This patch tries to maintain binary compatibility on FreeBSD 4.4 and above by
doing a runtime kernel version test.  It works on daedalus.  Jeff said he'd try
it on a 3.x FreeBSD box, where the runtime test I'm using isn't available.

Greg

Re: [PATCH] FreeBSD sendfile [was: new httpd build running on daedalus]

Posted by Cliff Woolley <jw...@virginia.edu>.
On Tue, 2 Jul 2002, Greg Ames wrote:

> This patch tries to maintain binary compatibility on FreeBSD 4.4 and
> above by doing a runtime kernel version test.  It works on daedalus.
> Jeff said he'd try it on a 3.x FreeBSD box, where the runtime test I'm
> using isn't available.

+1 (untested).

For anybody interested in the kernel patch that killed us on this one, the
full URL is:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/uipc_syscalls.c.diff?r1=1.65.2.9&r2=1.65.2.10

--Cliff