Return true for mode with non-permission bits. */
| 157 | |
| 158 | /* Return true for mode with non-permission bits. */ |
| 159 | static bool |
| 160 | extra_mode (mode_t input) |
| 161 | { |
| 162 | mode_t mask = S_IRWXUGO | S_IFMT; |
| 163 | return !! (input & ~ mask); |
| 164 | } |
| 165 | |
| 166 | /* Return true if copy of file SRC_NAME to file DEST_NAME aka |
| 167 | DEST_DIRFD+DEST_RELNAME is necessary. */ |