httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Hill <>
Subject APR_HAS_SENDFILE and the rest of us
Date Wed, 12 Jul 2000 21:11:20 GMT

Building on:
	Compaq Tru64 UNIX, v5.0a
	native cc 
	sources from anoncvs 7/12/00


code is in:

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:
Nashua, NH 03062-2698       (0_0)     

View raw message