sourcepath
char *sourcepath(const char *);
p = sourcepath(buf);
source = sourcepath(expand ? expand : nv->nv_name);
ifname = sourcepath(buf);