Searched refs:path2 (Results 1 – 2 of 2) sorted by relevance
30 path_common_prefix (char const *path1, char const *path2) in path_common_prefix() argument38 if ((path1[1] == '/') != (path2[1] == '/')) in path_common_prefix()41 while (*path1 && *path2) in path_common_prefix()43 if (*path1 != *path2) in path_common_prefix()48 path2++; in path_common_prefix()52 if ((!*path1 && !*path2) in path_common_prefix()53 || (!*path1 && *path2 == '/') in path_common_prefix()54 || (!*path2 && *path1 == '/')) in path_common_prefix()
33 mkdir path2 || framework_failure_34 cd path2 && ln -s ../mnt/path1/file || framework_failure_