# | Line 475 | Line 475 | identify_type(const char *name, FILE *fin, LUTAB *htp) | |
---|---|---|
475 | } | |
476 | if (c) | |
477 | return(TYP_BINARY); | |
478 | – | SET_FILE_TEXT(fin); /* originally set to binary */ |
478 | return(TYP_TEXT); | |
479 | badeof: | |
480 | if (report != REP_QUIET) { | |
# | Line 560 | Line 559 | compare_text() | |
559 | fputs(progname, stdout); | |
560 | fputs(": comparing inputs as ASCII text\n", stdout); | |
561 | } | |
562 | + | SET_FILE_TEXT(f1in); /* originally set to binary */ |
563 | + | SET_FILE_TEXT(f2in); |
564 | init_line(&l1buf); init_line(&l2buf); /* compare a line at a time */ | |
565 | while (read_line(&l1buf, f1in)) { | |
566 | lin1cnt++; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |