Commit e4f22de6 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#5774

parent 67e8275c
......@@ -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)
......
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment