From 6ff5fce74360800f6d5a02c69e1578796481bfb1 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 17 Nov 2004 19:42:19 +0000 Subject: [PATCH] FIXME: needs work/cleanup --- servers/slapd/back-monitor/database.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.39.5