FIXME: needs work/cleanup

This commit is contained in:
Pierangelo Masarati 2004-11-17 19:42:19 +00:00
parent 6eec000889
commit 6ff5fce743

View File

@ -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;