[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#3661) Little error in /servers/slapd/config.h



Thanks, yes, will fix this in HEAD.

reinhard.e.voglmaier@gsk.com wrote:

>Full_Name: Reinhard E. Voglmaier
>Version: 2.3.2beta
>OS: Sun Solaris 2.9
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (82.193.9.10)
>
>
>This is a little error happening on systems which do not have defined PATH_MAX.
>file ./include/ac/params.h defines MAXPATHLEN, if PATH_MAX exists, it is used,
>then it tries out _MAX_PATH at the end it defines it by itself.
>#if defined(PATH_MAX)
>    define MAXPATHLEN PATH_MAX
>
>file /servers/slapd/config.h instead uses PATH_MAX directly in line 109
>char log[PATH_MAX + STRLENOF("    .......
>this should be instead
>char log[MAXPATHLEN + STRLENOF("    .......
>
>is this correct ?
>cheers
>Reinhard
>
>
>
>.
>
>  
>


-- 
  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support