On Tue, 27 May 2008 22:26:09 -0000
[EMAIL PROTECTED] wrote:

> +   rpluem says: Thanks. Sorry for being picky, but after revisiting
> the patch
> +   again I ask myself how we can be sure that the chroot function is
> actually
> +   present on the platform we compile.

$ man chroot
...
CONFORMING TO
       SVr4, SVID, 4.4BSD, X/OPEN.

How many unix platforms support none of the above?

Would #ifdef HAVE_UNISTD_H be an appropriate wrapper for this,
or could you have a unistd without chroot?

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

Reply via email to