const char *path(const char *name)

{

    /* Only do absolute paths: quick and dirty, but should mostly be OK.

       Could do relative by tracking cwd. */

    if (!base || name[0] != '/')

	return name;



    return follow_path(base, name) ?: name;

}

const char *path(const char *name)

{

    



    if (!base || name[0] != '/')

	return name;



    return follow_path(base, name) ?: name;

}

    if (!base || name[0] != '/')
const char *FUNC_0(const char *VAR_0)

{

    



    if (!base || VAR_0[0] != '/')

	return VAR_0;



    return follow_path(base, VAR_0) ?: VAR_0;

}

const char *FUNC_0(const char *VAR_0)
{ if (!base || VAR_0[0] != '/')
return VAR_0; return follow_path(base, VAR_0) ?: VAR_0; }