[Xapian-tickets] [Xapian] #525: compactstub3 and compactstub4 tests fail on Windows

Xapian nobody at xapian.org
Tue Jan 18 13:07:38 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 charliejuggler):

 Closing the handle to the stub file in the test code before compacting
 fixes this, patch attached. Windows didn't like overwriting a file that
 was already opened by ofstream.

-- 
Ticket URL: <http://trac.xapian.org/ticket/525#comment:7>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list