ggreer/the_silver_searcher — pull request #19 by packetcollision (2012-03-14 06:06:58+00:00)
Title: Apache-licensed version on strndup for OS X < 10.7

Here's a new version of the patch, with a strndup with a compatible license.

The getline implementation included with the latest version of util.c crashes on OS X 10.6.8. I wrote a new version of the getline implementation, which is also included in this pull request. This has only been tested on 32-bit OS X 10.6.8.