Searched refs:to_sb (Results 1 – 3 of 3) sorted by relevance
/freebsd/usr.bin/xinstall/ |
H A D | xinstall.c | 164 struct stat from_sb, to_sb; in main() local 367 no_target = stat(to_name, &to_sb); in main() 368 if (!no_target && S_ISDIR(to_sb.st_mode)) { in main() 370 if (lstat(to_name, &to_sb) != 0) in main() 372 if (S_ISLNK(to_sb.st_mode)) { in main() 401 if (!S_ISREG(to_sb.st_mode)) in main() 403 if (to_sb.st_dev == from_sb.st_dev && in main() 404 to_sb.st_ino == from_sb.st_ino) { in main() 658 struct stat to_sb; in makelink() local 666 if (stat(to_name, &to_sb)) in makelink() [all …]
|
/freebsd/bin/pax/ |
H A D | file_subs.c | 261 mk_link(char *to, struct stat *to_sb, char *from, in mk_link() argument 278 if ((to_sb->st_dev==sb.st_dev)&&(to_sb->st_ino == sb.st_ino)) { in mk_link() 309 if (!nodirs && chk_path(from, to_sb->st_uid, to_sb->st_gid) == 0) in mk_link()
|
/freebsd/usr.sbin/config/ |
H A D | main.cc | 588 struct stat from_sb, to_sb; in moveifchanged() local 604 if (!changed && fstat(to_fd, &to_sb) < 0) in moveifchanged() 607 if (!changed && from_sb.st_size != to_sb.st_size) in moveifchanged()
|