Searched refs:to_sb (Results 1 – 3 of 3) sorted by relevance
/dflybsd-src/usr.bin/xinstall/ |
H A D | xinstall.c | 105 struct stat from_sb, to_sb; in main() local 281 no_target = stat(to_name, &to_sb); in main() 282 if (!no_target && S_ISDIR(to_sb.st_mode)) { in main() 284 if (lstat(to_name, &to_sb) != 0) in main() 286 if (S_ISLNK(to_sb.st_mode)) { in main() 315 if (!S_ISREG(to_sb.st_mode)) { in main() 319 if (to_sb.st_dev == from_sb.st_dev && in main() 320 to_sb.st_ino == from_sb.st_ino) in main() 465 struct stat to_sb; in makelink() local 473 if (stat(to_name, &to_sb)) in makelink() [all …]
|
/dflybsd-src/bin/pax/ |
H A D | file_subs.c | 264 mk_link(char *to, struct stat *to_sb, char *from, in mk_link() argument 281 if ((to_sb->st_dev==sb.st_dev)&&(to_sb->st_ino == sb.st_ino)) { in mk_link() 312 if (!nodirs && chk_path(from, to_sb->st_uid, to_sb->st_gid) == 0) in mk_link()
|
/dflybsd-src/usr.sbin/config/ |
H A D | main.c | 439 struct stat from_sb, to_sb; in moveifchanged() local 453 if (!changed && fstat(to_fd, &to_sb) < 0) in moveifchanged() 456 if (!changed && from_sb.st_size != to_sb.st_size) in moveifchanged()
|