Home
last modified time | relevance | path

Searched refs:fts_path (Results 1 – 25 of 217) sorted by relevance

123456789

/dports/misc/rump/buildrump.sh-b914579/src/external/bsd/mdocml/dist/
H A Dcompat_fts.c153 mem2: free(sp->fts_path); in fts_open()
178 p->fts_accpath = p->fts_path = sp->fts_path; in fts_load()
204 free(sp->fts_path); in fts_close()
559 p->fts_path = sp->fts_path; in fts_alloc()
600 if (sp->fts_path) in fts_palloc()
601 free(sp->fts_path); in fts_palloc()
602 sp->fts_path = NULL; in fts_palloc()
609 if (sp->fts_path) in fts_palloc()
610 free(sp->fts_path); in fts_palloc()
611 sp->fts_path = NULL; in fts_palloc()
[all …]
/dports/sysutils/vcp/vcp-2.2/
H A Dcopyall.c53 print_error(ftsf->fts_path,ftsf->fts_errno); in copyall()
60 logadds(LOG_ERR,"%s: directory causes a cycle",ftsf->fts_path,NULL); in copyall()
71 base = pathnamed(ftsf->fts_path); in copyall()
77 if(pathdadd(dest.path,ftsf->fts_path+base)) in copyall()
103 ftsf->fts_path,dest.path); in copyall()
110 dest.path,ftsf->fts_path); in copyall()
133 copylink(ftsf->fts_path,dest.path) ? ret = 1 : 0; in copyall()
152 dest.path,ftsf->fts_path); in copyall()
165 copyfile(ftsf->fts_path,dest.path,ftsf->fts_statp) ? ret = 1 : 0; in copyall()
173 copyfile(ftsf->fts_path,dest.path,ftsf->fts_statp) ? ret = 1 : 0; in copyall()
[all …]
/dports/textproc/mdocml/mandoc-1.14.5/
H A Dcompat_fts.c162 mem2: free(sp->fts_path); in fts_open()
187 p->fts_accpath = p->fts_path = sp->fts_path; in fts_load()
214 free(sp->fts_path); in fts_close()
392 cp = sp->fts_path + len; in fts_build()
420 oldaddr = sp->fts_path; in fts_build()
605 p->fts_path = sp->fts_path; in fts_alloc()
646 free(sp->fts_path); in fts_palloc()
647 sp->fts_path = NULL; in fts_palloc()
654 free(sp->fts_path); in fts_palloc()
655 sp->fts_path = NULL; in fts_palloc()
[all …]
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libcmd/
H A Drm.c116 error(2, "%s: not found", ent->fts_path); in rm()
149 error(2, "%s: cannot remove", ent->fts_path); in rm()
157 error(2, "%s: directory", ent->fts_path); in rm()
200 error(1, "%s: hard link to directory", ent->fts_path); in rm()
214 sfputr(sfstdout, ent->fts_path, '\n'); in rm()
241 error(2, "%s: cannot remove", ent->fts_path); in rm()
249 error(2, "%s: directory not removed", ent->fts_path); in rm()
257 sfputr(sfstdout, ent->fts_path, '\n'); in rm()
288 error(ERROR_SYSTEM|2, "%s: cannot clear data", ent->fts_path); in rm()
297 error(ERROR_SYSTEM|2, "%s: data clear error", ent->fts_path); in rm()
[all …]
H A Dcp.c257 error(2, "%s: directory causes cycle", ent->fts_path); in visit()
288 base = ent->fts_path + state->presiz + 1; in visit()
354 error(2, "%s: cannot link directory", ent->fts_path); in visit()
361 error(2, "%s: cannot read directory", ent->fts_path); in visit()
364 error(2, "%s: cannot search directory", ent->fts_path); in visit()
398 error(2, "%s: not found", ent->fts_path); in visit()
558 if (!rename(ent->fts_path, state->path)) in visit()
595 error(ERROR_SYSTEM|2, "%s: cannot read", ent->fts_path); in visit()
666 if (state->op == MV && remove(ent->fts_path)) in visit()
667 error(ERROR_SYSTEM|1, "%s: cannot remove", ent->fts_path); in visit()
[all …]
H A Dchmod.c282 error(ERROR_system(0), "%s: cannot change symlink mode", ent->fts_path); in b_chmod()
299 … sfprintf(sfstdout, "%s: mode changed to %0.4o (%s)\n", ent->fts_path, mode, fmtmode(mode, 1)+1); in b_chmod()
302 error(ERROR_system(0), "%s: cannot change mode", ent->fts_path); in b_chmod()
306 error(ERROR_warn(0), "%s: directory causes cycle", ent->fts_path); in b_chmod()
310 error(ERROR_system(0), "%s: cannot read directory", ent->fts_path); in b_chmod()
314 error(ERROR_system(0), "%s: cannot search directory", ent->fts_path); in b_chmod()
318 error(ERROR_system(0), "%s: not found", ent->fts_path); in b_chmod()
/dports/shells/ksh93/ast-93u/src/lib/libcmd/
H A Drm.c116 error(2, "%s: not found", ent->fts_path); in rm()
149 error(2, "%s: cannot remove", ent->fts_path); in rm()
157 error(2, "%s: directory", ent->fts_path); in rm()
200 error(1, "%s: hard link to directory", ent->fts_path); in rm()
214 sfputr(sfstdout, ent->fts_path, '\n'); in rm()
241 error(2, "%s: cannot remove", ent->fts_path); in rm()
249 error(2, "%s: directory not removed", ent->fts_path); in rm()
257 sfputr(sfstdout, ent->fts_path, '\n'); in rm()
288 error(ERROR_SYSTEM|2, "%s: cannot clear data", ent->fts_path); in rm()
297 error(ERROR_SYSTEM|2, "%s: data clear error", ent->fts_path); in rm()
[all …]
H A Dcp.c257 error(2, "%s: directory causes cycle", ent->fts_path); in visit()
288 base = ent->fts_path + state->presiz + 1; in visit()
354 error(2, "%s: cannot link directory", ent->fts_path); in visit()
361 error(2, "%s: cannot read directory", ent->fts_path); in visit()
364 error(2, "%s: cannot search directory", ent->fts_path); in visit()
398 error(2, "%s: not found", ent->fts_path); in visit()
558 if (!rename(ent->fts_path, state->path)) in visit()
595 error(ERROR_SYSTEM|2, "%s: cannot read", ent->fts_path); in visit()
666 if (state->op == MV && remove(ent->fts_path)) in visit()
667 error(ERROR_SYSTEM|1, "%s: cannot remove", ent->fts_path); in visit()
[all …]
H A Dchmod.c282 error(ERROR_system(0), "%s: cannot change symlink mode", ent->fts_path); in b_chmod()
299 … sfprintf(sfstdout, "%s: mode changed to %0.4o (%s)\n", ent->fts_path, mode, fmtmode(mode, 1)+1); in b_chmod()
302 error(ERROR_system(0), "%s: cannot change mode", ent->fts_path); in b_chmod()
306 error(ERROR_warn(0), "%s: directory causes cycle", ent->fts_path); in b_chmod()
310 error(ERROR_system(0), "%s: cannot read directory", ent->fts_path); in b_chmod()
314 error(ERROR_system(0), "%s: cannot search directory", ent->fts_path); in b_chmod()
318 error(ERROR_system(0), "%s: not found", ent->fts_path); in b_chmod()
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libcmd/
H A Drm.c114 error(2, "%s: not found", ent->fts_path); in rm()
147 error(2, "%s: cannot remove", ent->fts_path); in rm()
157 error(2, "%s: directory", ent->fts_path); in rm()
201 error(1, "%s: hard link to directory", ent->fts_path); in rm()
215 sfputr(sfstdout, ent->fts_path, '\n'); in rm()
242 error(2, "%s: cannot remove", ent->fts_path); in rm()
250 error(2, "%s: directory not removed", ent->fts_path); in rm()
258 sfputr(sfstdout, ent->fts_path, '\n'); in rm()
289 error(ERROR_SYSTEM|2, "%s: cannot clear data", ent->fts_path); in rm()
298 error(ERROR_SYSTEM|2, "%s: data clear error", ent->fts_path); in rm()
[all …]
H A Dcp.c257 error(2, "%s: directory causes cycle", ent->fts_path); in visit()
288 base = ent->fts_path + state->presiz + 1; in visit()
354 error(2, "%s: cannot link directory", ent->fts_path); in visit()
361 error(2, "%s: cannot read directory", ent->fts_path); in visit()
364 error(2, "%s: cannot search directory", ent->fts_path); in visit()
398 error(2, "%s: not found", ent->fts_path); in visit()
558 if (!rename(ent->fts_path, state->path)) in visit()
596 error(ERROR_SYSTEM|2, "%s: cannot read", ent->fts_path); in visit()
667 if (state->op == MV && remove(ent->fts_path)) in visit()
668 error(ERROR_SYSTEM|1, "%s: cannot remove", ent->fts_path); in visit()
[all …]
H A Dchmod.c280 error(ERROR_system(0), "%s: cannot change symlink mode", ent->fts_path); in b_chmod()
297 … sfprintf(sfstdout, "%s: mode changed to %0.4o (%s)\n", ent->fts_path, mode, fmtmode(mode, 1)+1); in b_chmod()
300 error(ERROR_system(0), "%s: cannot change mode", ent->fts_path); in b_chmod()
304 error(ERROR_warn(0), "%s: directory causes cycle", ent->fts_path); in b_chmod()
308 error(ERROR_system(0), "%s: cannot read directory", ent->fts_path); in b_chmod()
312 error(ERROR_system(0), "%s: cannot search directory", ent->fts_path); in b_chmod()
316 error(ERROR_system(0), "%s: not found", ent->fts_path); in b_chmod()
/dports/misc/findutils/findutils-4.8.0/find/
H A Dftsfind.c181 apply_predicate (ent->fts_path, pstat, eval_tree); in visit()
229 safely_quote_err_filename (0, ent->fts_path)); in issue_loop_warning()
244 safely_quote_err_filename (0, ent->fts_path), in issue_loop_warning()
246 ent->fts_cycle->fts_path, in issue_loop_warning()
301 nonfatal_target_file_error (ent->fts_errno, ent->fts_path); in consider_visiting()
306 nonfatal_target_file_error (ent->fts_errno, ent->fts_path); in consider_visiting()
333 nonfatal_target_file_error (ELOOP, ent->fts_path); in consider_visiting()
342 nonfatal_target_file_error (ent->fts_errno, ent->fts_path); in consider_visiting()
352 nonfatal_target_file_error (ELOOP, ent->fts_path); in consider_visiting()
357 nonfatal_target_file_error (ent->fts_errno, ent->fts_path); in consider_visiting()
[all …]
/dports/net/owamp/owamp-3.3/owampd/
H A Dfts.c195 mem2: free(sp->fts_path);
222 p->fts_accpath = p->fts_path = sp->fts_path;
252 free(sp->fts_path);
669 cp = sp->fts_path + len;
689 oldaddr = sp->fts_path;
979 p->fts_path = sp->fts_path;
1021 if (sp->fts_path)
1022 free(sp->fts_path);
1023 sp->fts_path = NULL;
1027 tch = sp->fts_path;
[all …]
/dports/devel/kBuild/kBuild-0.1.9998/src/kmk/kmkbuiltin/
H A Dcp_utils.c104 if ((from_fd = open(entp->fts_path, O_RDONLY | O_BINARY, 0)) == -1) { in copy_file()
105 warn("open: %s", entp->fts_path); in copy_file()
130 if ((from_fd = open(entp->fts_path, O_RDONLY | O_BINARY, 0)) == -1) { in copy_file()
131 warn("open: %s", entp->fts_path); in copy_file()
187 warn("mmap: %s", entp->fts_path); in copy_file()
199 entp->fts_path, to.p_path, in copy_file()
212 warn("munmap: %s", entp->fts_path); in copy_file()
229 entp->fts_path, to.p_path, in copy_file()
243 warn("read: %s", entp->fts_path); in copy_file()
271 if ((len = readlink(p->fts_path, llink, sizeof(llink) - 1)) == -1) { in copy_link()
[all …]
H A Dcp.c424 warnx("fts: %s: %s", curr->fts_path, in copy()
432 curr->fts_path, strerror(curr->fts_errno)); in copy()
436 warnx("%s: directory causes a cycle", curr->fts_path); in copy()
469 p = strrchr(curr->fts_path, '/'); in copy()
475 (int)(p - curr->fts_path + 1); in copy()
477 if (!strcmp(&curr->fts_path[base], in copy()
484 p = &curr->fts_path[base]; in copy()
543 to.p_path, curr->fts_path); in copy()
553 to.p_path, curr->fts_path); in copy()
578 curr->fts_path); in copy()
[all …]
/dports/shells/ksh93-devel/ast-cc1bca27/src/cmd/std/
H A Ddu.c112 error(1, "%s: file id dictionary out of space", ent->fts_path); in mark()
230 if (s = strrchr(ent->fts_path, '/')) in main()
233 d = ent->fts_path; in main()
266 error(ERROR_SYSTEM|2, "%s: not found", ent->fts_path); in main()
276 error(2, "%s: directory causes cycle", ent->fts_path); in main()
280 error(ERROR_SYSTEM|2, "%s: cannot read directory", ent->fts_path); in main()
284 error(ERROR_SYSTEM|2, "%s: cannot search directory", ent->fts_path); in main()
316 sfprintf(sfstdout, "%s\t%s\n", fmtscale((Sfulong_t)n * blocksize, scale), ent->fts_path); in main()
318 sfprintf(sfstdout, "%I*u\t%s\n", sizeof(Count_t), BLOCKS(n), ent->fts_path); in main()
/dports/shells/ksh93/ast-93u/src/cmd/std/
H A Ddu.c112 error(1, "%s: file id dictionary out of space", ent->fts_path); in mark()
230 if (s = strrchr(ent->fts_path, '/')) in main()
233 d = ent->fts_path; in main()
266 error(ERROR_SYSTEM|2, "%s: not found", ent->fts_path); in main()
276 error(2, "%s: directory causes cycle", ent->fts_path); in main()
280 error(ERROR_SYSTEM|2, "%s: cannot read directory", ent->fts_path); in main()
284 error(ERROR_SYSTEM|2, "%s: cannot search directory", ent->fts_path); in main()
316 sfprintf(sfstdout, "%s\t%s\n", fmtscale((Sfulong_t)n * blocksize, scale), ent->fts_path); in main()
318 sfprintf(sfstdout, "%I*u\t%s\n", sizeof(Count_t), BLOCKS(n), ent->fts_path); in main()
/dports/shells/ast-ksh/ast-ksh93v/src/cmd/std/
H A Ddu.c112 error(1, "%s: file id dictionary out of space", ent->fts_path); in mark()
230 if (s = strrchr(ent->fts_path, '/')) in main()
233 d = ent->fts_path; in main()
266 error(ERROR_SYSTEM|2, "%s: not found", ent->fts_path); in main()
276 error(2, "%s: directory causes cycle", ent->fts_path); in main()
280 error(ERROR_SYSTEM|2, "%s: cannot read directory", ent->fts_path); in main()
284 error(ERROR_SYSTEM|2, "%s: cannot search directory", ent->fts_path); in main()
316 sfprintf(sfstdout, "%s\t%s\n", fmtscale((Sfulong_t)n * blocksize, scale), ent->fts_path); in main()
318 sfprintf(sfstdout, "%I*u\t%s\n", sizeof(Count_t), BLOCKS(n), ent->fts_path); in main()
/dports/archivers/rpm4/rpm-4.16.1.3/misc/
H A Dfts.c241 mem2: free(sp->fts_path); in Fts_open()
266 p->fts_accpath = p->fts_path = sp->fts_path; in fts_load()
298 free(sp->fts_path); in Fts_close()
1019 p->fts_path = sp->fts_path; in fts_alloc()
1058 if (sp->fts_path) { in fts_palloc()
1059 free(sp->fts_path); in fts_palloc()
1060 sp->fts_path = NULL; in fts_palloc()
1062 sp->fts_path = NULL; in fts_palloc()
1068 free(sp->fts_path); in fts_palloc()
1069 sp->fts_path = NULL; in fts_palloc()
[all …]
/dports/net/rpki-client/rpki-client-portable-7.6/openbsd/src/lib/libc/gen/
H A Dfts.c173 mem2: free(sp->fts_path); in fts_open()
199 p->fts_accpath = p->fts_path = sp->fts_path; in fts_load()
230 free(sp->fts_path); in fts_close()
636 cp = sp->fts_path + len; in fts_build()
659 oldaddr = sp->fts_path; in fts_build()
923 p->fts_path = sp->fts_path; in fts_alloc()
961 free(sp->fts_path); in fts_palloc()
962 sp->fts_path = NULL; in fts_palloc()
969 free(sp->fts_path); in fts_palloc()
970 sp->fts_path = NULL; in fts_palloc()
[all …]
/dports/security/clamav/clamav-0.104.2/clamonacc/misc/
H A Dfts.c245 free(sp->fts_path); in FTS_OPEN()
272 p->fts_accpath = p->fts_path = sp->fts_path; in fts_load()
299 free(sp->fts_path); in FTS_CLOSE()
730 cp = sp->fts_path + len; in fts_build()
1034 p->fts_path = sp->fts_path; in fts_alloc()
1075 free(sp->fts_path); in fts_palloc()
1076 sp->fts_path = NULL; in fts_palloc()
1082 free(sp->fts_path); in fts_palloc()
1083 sp->fts_path = NULL; in fts_palloc()
1086 sp->fts_path = p; in fts_palloc()
[all …]
/dports/security/clamav-lts/clamav-0.103.5/clamonacc/misc/
H A Dfts.c245 free(sp->fts_path); in FTS_OPEN()
272 p->fts_accpath = p->fts_path = sp->fts_path; in fts_load()
299 free(sp->fts_path); in FTS_CLOSE()
730 cp = sp->fts_path + len; in fts_build()
1034 p->fts_path = sp->fts_path; in fts_alloc()
1075 free(sp->fts_path); in fts_palloc()
1076 sp->fts_path = NULL; in fts_palloc()
1082 free(sp->fts_path); in fts_palloc()
1083 sp->fts_path = NULL; in fts_palloc()
1086 sp->fts_path = p; in fts_palloc()
[all …]
/dports/ftp/bsdftpd-ssl/bsdftpd-ssl-1.1.0/contrib/libbsdport/libc/gen/
H A Dfts.c189 mem2: free(sp->fts_path);
216 p->fts_accpath = p->fts_path = sp->fts_path;
246 free(sp->fts_path);
696 cp = sp->fts_path + len;
718 oldaddr = sp->fts_path;
1032 p->fts_path = sp->fts_path;
1074 if (sp->fts_path)
1075 free(sp->fts_path);
1076 sp->fts_path = NULL;
1080 sp->fts_path = reallocf(sp->fts_path, sp->fts_pathlen);
[all …]
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/init/
H A Dfscrypt_init_extensions.cpp67 if (dir == cur->fts_path) { in delete_dir_contents()
74 if (rmdir(cur->fts_path) == -1) { in delete_dir_contents()
75 PLOG(ERROR) << "rmdir " << cur->fts_path; in delete_dir_contents()
79 PLOG(ERROR) << "FTS unexpected type " << cur->fts_info << " at " << cur->fts_path; in delete_dir_contents()
80 if (rmdir(cur->fts_path) != -1) break; in delete_dir_contents()
86 if (unlink(cur->fts_path) == -1) { in delete_dir_contents()
87 PLOG(ERROR) << "unlink " << cur->fts_path; in delete_dir_contents()

123456789