Home
last modified time | relevance | path

Searched refs:path1 (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()
45 if (*path1 == '/') in path_common_prefix()
47 path1++; 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.sh31 mkdir mnt/path1 || framework_failure_
32 touch mnt/path1/file || framework_failure_
34 cd path2 && ln -s ../mnt/path1/file || framework_failure_
36 cp -dsf ../mnt/path1/file . || fail=1