apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Clarke <dcla...@blastwave.org>
Subject Re: apr-1.6.0 and apr-util-1.6.0 pass all tests on Solaris 10 Sparc .. however httpd fails
Date Thu, 11 May 2017 12:06:24 GMT

> At the moment compile of httpd 2.4.25 stops very early with :
> 
> "/usr/local/include/apr-1/apr.h", line 614: #error: no decision has been 
> made on APR_PATH_MAX for your platform
> 
> So perhaps a quick define here would work.

[ self reply ]

Really we should get from limits.h :


    99   #ifdef _XPG6
    100  #define _POSIX_NGROUPS_MAX          8
    101  #define _POSIX_OPEN_MAX            20
    102  #define _POSIX_PATH_MAX           256
    103  #else
    104  #define _POSIX_NGROUPS_MAX          0
    105  #define _POSIX_OPEN_MAX            16
    106  #define _POSIX_PATH_MAX           255
    107  #endif

Since this is certainly in  POSIX.1-2001 and SUSv3 land here I would 
think APR_PATH_MAX should be _POSIX_PATH_MAX at 256.


dc

Mime
View raw message