| 439 | |
| 440 | #ifdef SUPPORT_ACLS |
| 441 | static inline int acls_differ(const char *fname, struct file_struct *file, stat_x *sxp) |
| 442 | { |
| 443 | if (preserve_acls) { |
| 444 | if (!ACL_READY(*sxp)) |
| 445 | get_acl(fname, sxp); |
| 446 | if (set_acl(NULL, file, sxp, file->mode)) |
| 447 | return 1; |
| 448 | } |
| 449 | |
| 450 | return 0; |
| 451 | } |
| 452 | #endif |
| 453 | |
| 454 | #ifdef SUPPORT_XATTRS |
no test coverage detected