[Xapian-tickets] [Xapian] #685: 32-bit xapian-replicate fails to copy files larger than 4GB

Xapian nobody at xapian.org
Wed Nov 4 21:47:42 GMT 2015


#685: 32-bit xapian-replicate fails to copy files larger than 4GB
-------------------------+-----------------------------
 Reporter:  joshe        |             Owner:  olly
     Type:  defect       |            Status:  assigned
 Priority:  normal       |         Milestone:  1.3.4
Component:  Replication  |           Version:  1.2.15
 Severity:  normal       |        Resolution:
 Keywords:  patch        |        Blocked By:
 Blocking:               |  Operating System:  Linux
-------------------------+-----------------------------

Comment (by olly):

 Hmm, `off_t` is signed, and left shifts on signed values which "overflow"
 result in undefined behaviour, so I think we need to do a bit more than
 just change over the types.  Will work up a fix.

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



More information about the Xapian-tickets mailing list