From: Pierangelo Masarati Date: Wed, 17 Nov 2004 19:42:19 +0000 (+0000) Subject: FIXME: needs work/cleanup X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~285 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6ff5fce74360800f6d5a02c69e1578796481bfb1;p=openldap FIXME: needs work/cleanup --- diff --git a/servers/slapd/back-monitor/database.c b/servers/slapd/back-monitor/database.c index ab298d5ec0..a667ad7506 100644 --- a/servers/slapd/back-monitor/database.c +++ b/servers/slapd/back-monitor/database.c @@ -274,6 +274,10 @@ monitor_subsys_database_init( { struct berval bv; ber_len_t pathlen = 0, len = 0; +/* FIXME: need a cleaner solution */ +#ifndef PATH_MAX +#define PATH_MAX 4095 +#endif /* ! PATH_MAX */ char path[ PATH_MAX ] = { '\0' }; char *fname = NULL;