Lines Matching defs:copy
387 static int chdir_to_parent(char *copy, const char **lastp)
394 tmp = strrchr(copy, '/');
397 progname, copy);
400 if (tmp != copy) {
402 parent = copy;
438 char *copy;
448 copy = strdup(mnt);
449 if (copy == NULL) {
455 res = chdir_to_parent(copy, &last);
467 free(copy);
1287 char *copy;
1292 copy = strdup(mnt);
1293 if (copy == NULL) {
1298 if (chdir_to_parent(copy, &last) == -1)
1321 free(copy);