hyc@OpenLDAP.org writes:
ldif.c 1.86 -> 1.87 ITS#5774 blind fix for Windows, please test
Another question - does strerror(errno) get the right error message after MoveFileEx()? The errno == ENOENT test can go away, we need to pre-check that the directory exists anyway. But the debug message currently printed by the caller should report what is wrong.
The Microsoft doc shows a horrible call to FormatMessage() at http://msdn.microsoft.com/en-us/library/ms679351(VS.85).aspx except that produces a wide string, not a plain string.