Lines Matching refs:fp
469 @@ -692,6 +708,7 @@ dc_evalfile DC_DECLARG((fp))
471 for (c=getc(fp); c!=EOF; c=peekc){
472 peekc = getc(fp);
477 @@ -717,24 +734,30 @@ dc_evalfile DC_DECLARG((fp))
481 - if (stdin_lookahead != peekc && fp == stdin)
482 + if (stdin_lookahead != peekc && fp == stdin) {
483 peekc = getc(fp);
488 peekc = getc(fp);
489 + checkferror_input(fp);
494 peekc = getc(fp);
495 + checkferror_input(fp);
502 - if (stdin_lookahead != peekc && fp == stdin)
503 + if (stdin_lookahead != peekc && fp == stdin) {
504 peekc = getc(fp);
510 @@ -744,6 +767,7 @@ dc_evalfile DC_DECLARG((fp))
522 - if (stdin_lookahead != peekc && fp == stdin)
524 + if (stdin_lookahead != peekc && fp == stdin) {
525 peekc = getc(fp);
543 @@ -89,6 +89,7 @@ dc_show_id DC_DECLARG((fp, id, suffix))
544 fprintf(fp, "'%c' (%#o)%s", (unsigned int) id, id, suffix);
546 fprintf(fp, "%#o%s", (unsigned int) id, suffix);
547 + checkferror_output(fp);
707 @@ -169,6 +170,7 @@ dc_readstring DC_DECLARG((fp, ldelim, rdelim))
711 + checkferror_input(fp);
773 +checkferror_input (fp)
774 + FILE *fp;
776 + if (ferror(fp)) {
783 +checkferror_output (fp)
784 + FILE *fp;
786 + if (ferror(fp)) {