Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line missing in read.go #19

Closed
GoogleCodeExporter opened this issue Mar 30, 2015 · 3 comments
Closed

Line missing in read.go #19

GoogleCodeExporter opened this issue Mar 30, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

Queries of the type [Hh]ashTable fail to yield results, where hashTable and 
HashTable each gets results.
It seems like a line is clearly missing in read.go in method:
  func (r *postReader) init(ix, trigram, restrict)
so that the restrict parameter is ignored.

The attached patch adds a test that shows the bug and fixes the problem.


Original issue reported on code.google.com by ugodi...@gmail.com on 15 Apr 2012 at 3:59

Attachments:

@GoogleCodeExporter
Copy link
Author

The [Hh]ashtable problem is actually an issue with the regex engine, reported 
and fixed as issue #8.  The "restrict isn't initialized" bug is issue #16, also 
with a patch.

I should poke Russ Cox to release a new version of codesearch, as there are a 
number of patches sitting un-merged on the bug tracker.

Original comment by dgryski on 16 Apr 2012 at 8:53

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Thank you, that would be great!

Original comment by ugodi...@gmail.com on 16 Apr 2012 at 6:26

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Original comment by dgryski on 2 May 2012 at 8:54

  • Changed state: Duplicate
  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant