httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <>
Subject Re: svn commit: r816074 - in /httpd/mod_ftp/trunk/modules/ftp: ftp_commands.c ftp_internal.h ftp_util.c
Date Thu, 17 Sep 2009 08:18:10 GMT wrote:
> Modified: httpd/mod_ftp/trunk/modules/ftp/ftp_internal.h
> URL:
> ==============================================================================
> --- httpd/mod_ftp/trunk/modules/ftp/ftp_internal.h (original)
> +++ httpd/mod_ftp/trunk/modules/ftp/ftp_internal.h Thu Sep 17 07:00:24 2009
> @@ -84,6 +84,8 @@
>  #include <sys/stat.h>
> +#elif HAVE_SYS_STAT_H
> +#include <sys/stat.h>
>  #endif

NAK.  The fragment above makes zero sense, please revert.


should be sufficent.  If apr does not provide it consistently, and httpd
has, then the test becomes


which is an altogether different beast.  First clue that the code above was
wrong is that you included the same code for both cases.  So provided that
you had no clue if APR consistently provided this and you wanted to rely
upon config.h, then it becomes

    || defined(HAVE_SYS_STAT_H)

but we know we don't need to go that far.

I'll answer the question you raised on list tomorrow, although it certainly
seemed like an apr question and not an httpd question.

View raw message