Lines Matching +refs:diff +refs:next +refs:error
27 #include <error.h>
141 {"diff-program", 1, 0, DIFF_PROGRAM_OPTION},
167 error (0, 0, _(reason_msgid), operand);
168 error (EXIT_TROUBLE, 0, _("Try `%s --help' for more information."),
202 N_("--diff-program=PROGRAM Use PROGRAM to compare files."),
250 error (0, 0, "%s", _(msgid));
259 error (0, e, "%s", msg);
279 error (0, errnum, _(failure_msgid), editor_program);
420 /* Snarf a line into a buffer. Return EOF if EOF, 0 if error, 1 if OK. */
427 char *next = (char *) memchr (start, '\n', lf->buflim + 1 - start);
428 size_t s = next - start;
432 if (next < lf->buflim)
435 lf->bufpos = next + 1;
567 /* easy case: diff does everything for us */
847 /* That didn't work, so exit with error status. */
1120 /* Alternately reveal bursts of diff output and handle user commands. */
1122 interact (struct line_filter *diff,
1132 int snarfed = lf_snarf (diff, diff_help, sizeof diff_help);
1160 lf_skip (diff, lenmax);
1162 lf_copy (diff, lenmax, stdout);
1169 lf_copy (diff, lenmax, stdout);