Home
last modified time | relevance | path

Searched refs:dest_sb (Results 1 – 1 of 1) sorted by relevance

/coreutils/src/
Dinstall.c172 struct stat src_sb, dest_sb; in need_copy() local
183 if (fstatat (dest_dirfd, dest_relname, &dest_sb, AT_SYMLINK_NOFOLLOW) != 0) in need_copy()
186 if (!S_ISREG (src_sb.st_mode) || !S_ISREG (dest_sb.st_mode) in need_copy()
187 || extra_mode (src_sb.st_mode) || extra_mode (dest_sb.st_mode)) in need_copy()
190 if (src_sb.st_size != dest_sb.st_size in need_copy()
191 || (dest_sb.st_mode & CHMOD_MODE_BITS) != mode) in need_copy()
198 if ((ruid == (uid_t) -1 && errno) || dest_sb.st_uid != ruid) in need_copy()
201 else if (dest_sb.st_uid != owner_id) in need_copy()
208 if ((rgid == (uid_t) -1 && errno) || dest_sb.st_gid != rgid) in need_copy()
211 else if (dest_sb.st_gid != group_id) in need_copy()