| 85 | } |
| 86 | |
| 87 | static inline void |
| 88 | free_stat_x(stat_x *sx_p) |
| 89 | { |
| 90 | #ifdef SUPPORT_ACLS |
| 91 | { |
| 92 | extern int preserve_acls; |
| 93 | if (preserve_acls) |
| 94 | free_acl(sx_p); |
| 95 | } |
| 96 | #endif |
| 97 | #ifdef SUPPORT_XATTRS |
| 98 | { |
| 99 | extern int preserve_xattrs; |
| 100 | if (preserve_xattrs) |
| 101 | free_xattr(sx_p); |
| 102 | } |
| 103 | #endif |
| 104 | } |
| 105 | |
| 106 | static inline char *my_strdup(const char *str, const char *file, int line) |
| 107 | { |
no test coverage detected