return true if -X or if -W and match s[0..n-1] is binary
| 715 | |
| 716 | // return true if -X or if -W and match s[0..n-1] is binary |
| 717 | inline bool check_binary(const char *s, size_t n) |
| 718 | { |
| 719 | return (flag_hex || (flag_with_hex && is_binary(s, n))); |
| 720 | } |
| 721 | |
| 722 | // check if a file's inode is the current output file, to avoid searching the file we write to |
| 723 | inline bool is_output(ino_t inode) |
no test coverage detected