mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +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;
|
struct berval bv;
|
||||||
ber_len_t pathlen = 0, len = 0;
|
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 path[ PATH_MAX ] = { '\0' };
|
||||||
char *fname = NULL;
|
char *fname = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user