mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
FIXME: needs work/cleanup
This commit is contained in:
parent
6eec000889
commit
6ff5fce743
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user