Lines Matching refs:rejfp
128 static FILE *rejfp = NULL; /* reject file pointer */ variable
399 if (rejfp) in main()
400 fclose(rejfp); in main()
401 rejfp = NULL; in main()
447 if (ferror(rejfp) || fclose(rejfp)) { in main()
451 rejfp = NULL; in main()
771 fprintf(rejfp, "***************\n"); in abort_context_hunk()
776 fprintf(rejfp, "*** 0%s\n", stars); in abort_context_hunk()
778 fprintf(rejfp, "*** %ld%s\n", oldfirst, stars); in abort_context_hunk()
780 fprintf(rejfp, "*** %ld,%ld%s\n", oldfirst, in abort_context_hunk()
785 fprintf(rejfp, "--- 0%s\n", minuses); in abort_context_hunk()
787 fprintf(rejfp, "--- %ld%s\n", newfirst, minuses); in abort_context_hunk()
789 fprintf(rejfp, "--- %ld,%ld%s\n", newfirst, in abort_context_hunk()
793 fprintf(rejfp, "%s", pfetch(i)); in abort_context_hunk()
799 fprintf(rejfp, "%c %s", pch_char(i), pfetch(i)); in abort_context_hunk()
815 fprintf(rejfp, "%c%s", ch, line); in rej_line()
818 fprintf(rejfp, "\n\\ Line too long\n"); in rej_line()
820 fprintf(rejfp, "\n\\ No newline at end of line\n"); in rej_line()
845 fprintf(rejfp, "malformed hunk: no split found\n"); in abort_hunk()
850 fprintf(rejfp, "@@ -%ld,%ld +%ld,%ld @@\n", in abort_hunk()
880 fprintf(rejfp, "internal error on (%ld %ld %ld)\n", in abort_hunk()
1017 rejfp = fopen(name, "w"); in init_reject()
1018 if (rejfp == NULL) in init_reject()