Closed hamin closed 3 years ago
if !ptr.null? stems = ptr.get_array_of_string(0,count) end
in file dictionary.rb
If your wanna patch, i can send to your by email
that's cool, how bout forking the project and submitting a pull request?
This is interesting, that would mean there is some libhunspell error that I'm not checking for (or can't see?).
I think, this error, with ffi, because binary hunspell working through libhunsplell. This error arises, while i trying suggest or check somethin like this: "gj3984jgfldk", but while i trying check or suggest with hunspell binary this error does not arise. Maybe i'm wrong :)
This should be fixed in c7cfb16c25e9c78ecaf2b006aca871e0a0847d2f where a count > 0
check was added, which should indicate the pointer has been written to.
Hi,
I'm running into a weird null pointer error when using a custom dictionary. Here's how I'm able to recreate it:
foo.dic
Then trying to do something like this, I get the null pointer error:
Any ideas to what's going on here? Btw I'm using ruby 1.9.2 on os x 10.6