You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dave Hill <dd...@laurel.zk3.dec.com> on 2000/07/12 23:11:20 UTC
APR_HAS_SENDFILE and the rest of us
Building on:
Compaq Tru64 UNIX, v5.0a
native cc
sources from anoncvs 7/12/00
Unresolved:
ap_sendfile
code is in:
apache-2.0/src/lib/apr/network_io/unix/sendrecv.c
APR_HAS_SENDFILE is set in lib/apr/include/apr.h
lib/apr/configure knows that Tru64 v5.0 has sendfile, but
there is no default case for the #ifdef platform
chain. Looking at the ones that are there, looks like
there is yet another way to do the same thing as Tru64
as a different call than the ones there.
There is an empty #else clause for the #ifdef daisy chain.
Perhaps something should be inserted in there like:
#error ap_sendfile not implemented for this architecture
/*
for some reason APR_HAS_SENDFILE was set by configure
but there is no supporting code for your OS.
Modify lib/apr/include/apr.h to unset APR_HAS_SENDFILE
and rebuild Apache.
*/
I am looking into writing ap_sendfile for Tru64, hope to have
it soon.
+-------------------------------------------------------------+
Dave Hill Unix Software Group
Mailstop: ZKO3-3/Y15
Digital Equipment Corp. (603) 884-2985
110 Spit Brook Road /\_/\ enet: ddhill@zk3.dec.com
Nashua, NH 03062-2698 (0_0)
+-----------------------oOO--(_)--OOo-------------------------+