Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
a9bb2de7
Commit
a9bb2de7
authored
May 26, 2008
by
Pierangelo Masarati
Browse files
s/PATH_MAX/MAXPATHLEN/ (ITS
#5531
)
parent
78b2f417
Changes
2
Show whitespace changes
Inline
Side-by-side
CHANGES
View file @
a9bb2de7
...
...
@@ -8,6 +8,7 @@ OpenLDAP 2.3.42 Release (2008/05/15)
Fixed slapd delta-syncrepl refresh mode (ITS#5376)
Fixed slapd delta-syncrepl resync (ITS#5378)
Fixed slapd pagedresults stale state (ITS#5409)
Fixed slapd-monitor MAXPATHLEN (ITS#5531)
Fixed slapd-ldap connection handler (ITS#5404)
Fixed slapd-ldap entry_get() op-dependent behavior (ITS#5513)
Fixed slapd-meta quarantine crasher (ITS#5522)
...
...
servers/slapd/back-monitor/database.c
View file @
a9bb2de7
...
...
@@ -49,14 +49,6 @@ static int monitor_back_add_plugin( monitor_info_t *mi, Backend *be, Entry *e );
#include "../back-meta/back-meta.h"
#endif
/* defined(SLAPD_META) */
/* for PATH_MAX on some systems (e.g. Solaris) */
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
/* HAVE_LIMITS_H */
#ifndef PATH_MAX
#define PATH_MAX 4095
#endif
/* ! PATH_MAX */
static
int
monitor_subsys_database_modify
(
Operation
*
op
,
...
...
@@ -313,7 +305,7 @@ monitor_subsys_database_init(
{
struct
berval
bv
;
ber_len_t
pathlen
=
0
,
len
=
0
;
char
path
[
PATH
_MAX
]
=
{
'\0'
};
char
path
[
MAX
PATH
LEN
]
=
{
'\0'
};
struct
bdb_info
*
bdb
=
(
struct
bdb_info
*
)
be
->
be_private
;
char
*
fname
=
bdb
->
bi_dbenv_home
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment