Home
last modified time | relevance | path

Searched refs:path2 (Results 1 – 2 of 2) sorted by relevance

/coreutils/src/
Drelpath.c30 path_common_prefix (char const *path1, char const *path2) in path_common_prefix() argument
38 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()
/coreutils/tests/cp/
Dcross-dev-symlink.sh33 mkdir path2 || framework_failure_
34 cd path2 && ln -s ../mnt/path1/file || framework_failure_