fix get_current_dir_name behavior
[musl] / crt / crti.c