boothj5/profanity — pull request #86 by pasis (2012-11-18 02:40:21+00:00)
Title: Fix incompatibility with MacOS

* use strdup instead of strndup
* implementation prof_getline replacement of getline

prof_getline(FILE *) returns allocated string without '\n' symbol at the end or NULL when nothing to read or error occurs.