Lines Matching refs:fts_path

257 		error(2, "%s: directory causes cycle", ent->fts_path);
288 base = ent->fts_path + state->presiz + 1;
314 error(ERROR_SYSTEM|2, "%s: cannot create directory -- %s ignored", state->path, ent->fts_path);
351 error(1, "%s: directory -- copying as plain file", ent->fts_path);
354 error(2, "%s: cannot link directory", ent->fts_path);
361 error(2, "%s: cannot read directory", ent->fts_path);
364 error(2, "%s: cannot search directory", ent->fts_path);
375 error(2, "%s: not a directory -- %s ignored", state->path, ent->fts_path);
381 error(ERROR_SYSTEM|2, "%s: cannot create directory -- %s ignored", state->path, ent->fts_path);
398 error(2, "%s: not found", ent->fts_path);
406 error(2, "%s: cannot copy non-terminal symbolic link", ent->fts_path);
440 error(2, "%s: identical to %s", state->path, ent->fts_path);
554 if (!rename(ent->fts_path, state->path))
565 error(ERROR_SYSTEM|2, "%s: cannot rename to %s", ent->fts_path, state->path);
575 if ((n = pathgetlink(ent->fts_path, state->text, sizeof(state->text) - 1)) < 0)
577 error(ERROR_SYSTEM|2, "%s: cannot read symbolic link text", ent->fts_path);
583 error(ERROR_SYSTEM|2, "%s: cannot copy symbolic link to %s", ent->fts_path, state->path);
589 if (ent->fts_statp->st_size > 0 && (rfd = open(ent->fts_path, O_RDONLY|O_BINARY)) < 0)
591 error(ERROR_SYSTEM|2, "%s: cannot read", ent->fts_path);
605 error(ERROR_SYSTEM|2, "%s: %s read stream error", ent->fts_path, state->path);
614 error(ERROR_SYSTEM|2, "%s: %s write stream error", ent->fts_path, state->path);
629 error(ERROR_SYSTEM|2, "%s: %s %s error", ent->fts_path, state->path, n == 1 ? ERROR_translate(0, 0, 0, "read") : n == 2 ? ERROR_translate(0, 0, 0, "write") : ERROR_translate(0, 0, 0, "io"));
640 error(ERROR_SYSTEM|2, "%s: cannot copy special file to %s", ent->fts_path, state->path);
646 error(2, "%s: cannot copy -- unknown file type 0%o", ent->fts_path, S_ITYPE(ent->fts_statp->st_mode));
663 if (state->op == MV && remove(ent->fts_path))
664 error(ERROR_SYSTEM|1, "%s: cannot remove", ent->fts_path);
668 if ((*state->link)(ent->fts_path, state->path))
669 error(ERROR_SYSTEM|2, "%s: cannot link to %s", ent->fts_path, state->path);