Check for get_current_dir_name. There is a replacement function in
[tinc] / debian / docs
1 INSTALL
2 NEWS
3 README