Searched refs:raw_path (Results 1 – 2 of 2) sorted by relevance
62 int get_real_path(const char *raw_path, const char *comp_dir,
1864 int get_real_path(const char *raw_path, const char *comp_dir, in get_real_path() argument1870 if (raw_path[0] != '/' && comp_dir) in get_real_path()1874 if (access(raw_path, R_OK) == 0) { in get_real_path()1875 *new_path = strdup(raw_path); in get_real_path()1882 *new_path = malloc((strlen(prefix) + strlen(raw_path) + 2)); in get_real_path()1887 sprintf(*new_path, "%s/%s", prefix, raw_path); in get_real_path()1903 raw_path = strchr(++raw_path, '/'); in get_real_path()1904 if (!raw_path) { in get_real_path()