Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
e4f22de6
Commit
e4f22de6
authored
Nov 10, 2008
by
Quanah Gibson-Mount
Browse files
ITS#5774
parent
67e8275c
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
e4f22de6
...
...
@@ -29,6 +29,7 @@ OpenLDAP 2.4.13 Engineering
Added slapo-constraint "set" type (ITS#5702)
Fixed slapo-constraint filter parsing error (ITS#5751)
Added slapo-dynlist URI restriction ability (ITS#5761)
Fixed slapo-ldif file rename on windows (ITS#5774)
Fixed slapo-ppolicy unaligned BerElement (ITS#5770)
Fixed slapo-rwm objectClass preservation (ITS#5760)
Fixed slapo-rwm rewriting undefined filter (ITS#5731)
...
...
servers/slapd/back-ldif/ldif.c
View file @
e4f22de6
...
...
@@ -336,7 +336,13 @@ spew_entry( Entry * e, struct berval * path, int dolock, int *save_errnop )
tmpfname
,
STRERROR
(
save_errno
),
0
);
}
else
{
#ifdef _WIN32
/* returns 0 on failure, nonzero on success */
res
=
MoveFileEx
(
tmpfname
,
path
->
bv_val
,
MOVEFILE_REPLACE_EXISTING
)
==
0
;
#else
res
=
rename
(
tmpfname
,
path
->
bv_val
);
#endif
if
(
res
==
0
)
{
rs
=
LDAP_SUCCESS
;
...
...
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