380c380,383 < if (putc(*sptr++, fptr) == EOF) error(errioerror); --- > { > if (putc(*sptr, fptr) == EOF) error(errioerror); > sptr++; > } 520a524,528 > if(feof(fptr) && !ferror(fptr)) > { > return EOF; > } /* if */ >