Wrong order when calling _fullpath. This should fix #187.
Null-terminate the output of popen(). Fixes #186.
Curses, an off-by-one error caused memory corruption for Solaris people. Thanks to Krzysztof Kowalczyk for finding this.
Actually fix #186. This is what I get for writing code while sleep deprived.