Fixed slapd delta-syncrepl refresh mode (ITS#5376)
Fixed slapd delta-syncrepl resync (ITS#5378)
Fixed slapd pagedresults stale state (ITS#5409)
+ Fixed slapd-monitor MAXPATHLEN (ITS#5531)
Fixed slapd-ldap connection handler (ITS#5404)
Fixed slapd-ldap entry_get() op-dependent behavior (ITS#5513)
Fixed slapd-meta quarantine crasher (ITS#5522)
#include "../back-meta/back-meta.h"
#endif /* defined(SLAPD_META) */
-/* for PATH_MAX on some systems (e.g. Solaris) */
-#ifdef HAVE_LIMITS_H
-#include <limits.h>
-#endif /* HAVE_LIMITS_H */
-#ifndef PATH_MAX
-#define PATH_MAX 4095
-#endif /* ! PATH_MAX */
-
static int
monitor_subsys_database_modify(
Operation *op,
{
struct berval bv;
ber_len_t pathlen = 0, len = 0;
- char path[ PATH_MAX ] = { '\0' };
+ char path[ MAXPATHLEN ] = { '\0' };
struct bdb_info *bdb = (struct bdb_info *) be->be_private;
char *fname = bdb->bi_dbenv_home;