Lines Matching refs:file2
99 cmp(const char* file1, Sfio_t* f1, const char* file2, Sfio_t* f2, int flags) in cmp() argument
133 error(ERROR_exit(1), "EOF on %s", file2); in cmp()
169 …sfprintf(sfstdout, "%s %s differ: char %I*d, line %I*u\n", file1, file2, sizeof(pos), pos - (last … in cmp()
188 char* file2; in b_cmp() local
221 if (error_info.errors || !(file1 = *argv++) || !(file2 = *argv++)) in b_cmp()
232 if (streq(file2, "-")) in b_cmp()
234 else if (!(f2 = sfopen(NiL, file2, "r"))) in b_cmp()
237 error(ERROR_system(0), "%s: cannot open", file2); in b_cmp()
253 error(ERROR_exit(0), "%s: %s: invalid skip", file2, s); in b_cmp()
273 error(ERROR_exit(0), "EOF on %s", file2); in b_cmp()
284 …SREG(s2.st_mode) && (s1.st_size - o1) != (s2.st_size - o2)) ? 1 : cmp(file1, f1, file2, f2, flags); in b_cmp()