[Xapian-tickets] [Xapian] #525: compactstub3 and compactstub4 tests fail on Windows
Xapian
nobody at xapian.org
Fri Jan 14 02:34:18 GMT 2011
#525: compactstub3 and compactstub4 tests fail on Windows
----------------------------+-----------------------------------------------
Reporter: charliejuggler | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone: 1.2.5
Component: Test Suite | Version: 1.2.4
Severity: normal | Keywords:
Blockedby: | Platform: Microsoft Windows
Blocking: |
----------------------------+-----------------------------------------------
Comment(by olly):
Both the arguments are (or should be) filenames - it is renaming the new
temporary stub file to replace the existing stub. It really shouldn't be
trying to delete any directories.
The files aren't in the same directory, as they probably are in other
cases where we already use !MoveFileEx - perhaps that's the issue? It
doesn't seem to be a documented limitation though.
Otherwise not sure what might be up. The file should be closed when the
ofstream object goes out of scope just above, but I guess you could try
adding an explicit call to {{{close()}}} to see if that makes a
difference, but I don't see why that would give ERROR_CURRENT_DIRECTORY.
--
Ticket URL: <http://trac.xapian.org/ticket/525#comment:6>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list