pk-1.0.1: getline bugfix for OS X 10.6

OS X versions prior to 10.7 didn't support the GNU getline() function.
This version includes a getline based on fgetln, which is supported by
earlier versions of OS X.