Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
5769f419
Commit
5769f419
authored
Dec 02, 2004
by
Pierangelo Masarati
Browse files
cleanup previous commit (still temporary, need to define dedicated attributeTypes)
parent
1e577505
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-monitor/database.c
View file @
5769f419
...
...
@@ -46,6 +46,14 @@ static int monitor_back_add_plugin( Backend *be, Entry *e );
#include "../back-ldbm/back-ldbm.h"
#endif /* defined(SLAPD_LDBM) */
/* 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
struct
restricted_ops_t
{
struct
berval
op
;
unsigned
int
tag
;
...
...
@@ -274,10 +282,6 @@ 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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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