Comments (2)
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 [email protected]
on 20 Jan 2012 at 4:34
- Changed state: Accepted
- Added labels: ****
- Removed labels: ****
from codesearch.
This issue was closed by revision 549d3bf04580.
Original comment by [email protected]
on 20 Jan 2012 at 4:41
- Changed state: Fixed
- Added labels: ****
- Removed labels: ****
from codesearch.
Related Issues (20)
- How to install HOT 1
- Support text files compressed with gzip, bzip2 and xz HOT 2
- Couldn't install HOT 1
- Possible to scan git?
- How to use cgrep? HOT 1
- Some files are not indexed HOT 11
- [Maintainance status] Does anyone own this? HOT 3
- index can't be larger than 4GB
- Color matched patterns in csearch output
- Enable multiline searches
- What will be returned by getSmallest(…) method when you run this program?
- What will be returned by getSmallest(…) method when you run this program?
- cindex is silently ignoring some text files and there's no way to tell why HOT 3
- Fix temporary file deletion not working on Windows
- Esew codes
- index/read line 200 is a bug
- Coding
- facebook account recovery HOT 1
- Filter for filetype and exact words
- Use go 1.22 if 1.23 is not required.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codesearch.