Check for get_current_dir_name. There is a replacement function in
[tinc] / debian / info
2000-04-25 Ivo TimmermansInitial CVS.