svent / sift

A fast and powerful alternative to grep
https://sift-tool.org
GNU General Public License v3.0
1.6k stars 108 forks source link

Update matching_cgo.go #81

Closed mfostrander closed 7 years ago

mfostrander commented 7 years ago

Fixes issues on OSX

Original solution identified by @ianlancetaylor @wendigo https://github.com/golang/go/issues/17356

wendigo commented 7 years ago

Same as https://github.com/svent/sift/pull/80

svent commented 7 years ago

Thanks for this PR - this change is not needed anymore because I completely replaced the C code with ASM code in the meantime (I had been working on that for quite some time). This does improve the performance while preventing problems like the issue mentioned here.