Use getcwd() instead of get_current_dir_name().
[tinc] / src / pidfile.c
2014-05-06 Guus SliepenFix issues found by Coverity.
2013-09-29 Guus SliepenModernize the build system.