Lines Matching refs:file1
99 cmp(const char* file1, Sfio_t* f1, const char* file2, Sfio_t* f2, int flags) in cmp() argument
122 error(ERROR_exit(1), "EOF on %s", file1); in cmp()
169 …sfprintf(sfstdout, "%s %s differ: char %I*d, line %I*u\n", file1, file2, sizeof(pos), pos - (last … in cmp()
187 char* file1; in b_cmp() local
221 if (error_info.errors || !(file1 = *argv++) || !(file2 = *argv++)) in b_cmp()
224 if (streq(file1, "-")) in b_cmp()
226 else if (!(f1 = sfopen(NiL, file1, "r"))) in b_cmp()
229 error(ERROR_system(0), "%s: cannot open", file1); in b_cmp()
245 error(ERROR_exit(0), "%s: %s: invalid skip", file1, s); in b_cmp()
266 error(ERROR_exit(0), "EOF on %s", file1); in b_cmp()
278 error(ERROR_system(0), "%s: cannot stat", file1); in b_cmp()
280 error(ERROR_system(0), "%s: cannot stat", file1); in b_cmp()
284 … S_ISREG(s2.st_mode) && (s1.st_size - o1) != (s2.st_size - o2)) ? 1 : cmp(file1, f1, file2, f2, fl… in b_cmp()