Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
James Lowden
OpenLDAP
Commits
a292272c
Commit
a292272c
authored
15 years ago
by
Quanah Gibson-Mount
Browse files
Options
Downloads
Patches
Plain Diff
ITS#5909
parent
00fc6346
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES
+1
-0
1 addition, 0 deletions
CHANGES
libraries/liblutil/tavl.c
+6
-2
6 additions, 2 deletions
libraries/liblutil/tavl.c
with
7 additions
and
2 deletions
CHANGES
+
1
−
0
View file @
a292272c
...
@@ -2,6 +2,7 @@ OpenLDAP 2.4 Change Log
...
@@ -2,6 +2,7 @@ OpenLDAP 2.4 Change Log
OpenLDAP 2.4.20 Engineering
OpenLDAP 2.4.20 Engineering
Fixed libldap uninitialized return value (ITS#6355)
Fixed libldap uninitialized return value (ITS#6355)
Fixed liblutil constant (ITS#5909)
Fixed slapd inclusion of ac/unistd.h (ITS#6342)
Fixed slapd inclusion of ac/unistd.h (ITS#6342)
Fixed slapd debug handling of LDAP_DEBUG_ANY (ITS#6324)
Fixed slapd debug handling of LDAP_DEBUG_ANY (ITS#6324)
Fixed slapd termination for one level dns (ITS#6338)
Fixed slapd termination for one level dns (ITS#6338)
...
...
This diff is collapsed.
Click to expand it.
libraries/liblutil/tavl.c
+
6
−
2
View file @
a292272c
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
#include
"portable.h"
#include
"portable.h"
#include
<limits.h>
#include
<stdio.h>
#include
<stdio.h>
#include
<ac/stdlib.h>
#include
<ac/stdlib.h>
...
@@ -35,6 +36,9 @@
...
@@ -35,6 +36,9 @@
#define AVL_INTERNAL
#define AVL_INTERNAL
#include
"avl.h"
#include
"avl.h"
/* Maximum tree depth this host's address space could support */
#define MAX_TREE_DEPTH (sizeof(void *) * CHAR_BIT)
static
const
int
avl_bfs
[]
=
{
LH
,
RH
};
static
const
int
avl_bfs
[]
=
{
LH
,
RH
};
/*
/*
...
@@ -189,8 +193,8 @@ tavl_delete( Avlnode **root, void* data, AVL_CMP fcmp )
...
@@ -189,8 +193,8 @@ tavl_delete( Avlnode **root, void* data, AVL_CMP fcmp )
int
side
,
side_bf
,
shorter
,
nside
=
-
1
;
int
side
,
side_bf
,
shorter
,
nside
=
-
1
;
/* parent stack */
/* parent stack */
Avlnode
*
pptr
[
sizeof
(
void
*
)
*
8
];
Avlnode
*
pptr
[
MAX_TREE_DEPTH
];
unsigned
char
pdir
[
sizeof
(
void
*
)
*
8
];
unsigned
char
pdir
[
MAX_TREE_DEPTH
];
int
depth
=
0
;
int
depth
=
0
;
if
(
*
root
==
NULL
)
if
(
*
root
==
NULL
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment