Closed GoogleCodeExporter closed 9 years ago
Thanks for the report. I think cindex does work right out of the box
with no .csearchindex. The bug you've identified happens if there
_is_ a .csearchindex, but it has size 0. That's an invalid index,
since among other things it is missing its header. Maybe you interrupted
a run of cindex and it left a zero-length index behind?
I will fix the code to handle mmap of 0 bytes gracefully and then also
to diagnose the corrupt index in this case.
Original comment by rsc@swtch.com
on 20 Jan 2012 at 4:34
This issue was closed by revision 549d3bf04580.
Original comment by rsc@swtch.com
on 20 Jan 2012 at 4:41
Original issue reported on code.google.com by
zaitsev....@gmail.com
on 19 Jan 2012 at 8:10