- while (fgets(inbuf, MAXBUF-1, stdin) != NULL) {
- sscanf(inbuf, "%X", &iy);
- if (ix == iy) fprintf(stderr, "Duplicate code point: %04X\n", ix);
+ while (fgets (inbuf, MAXBUF-1, infilefp) != NULL) {
+ sscanf (inbuf, "%X", &iy);
+ if (ix == iy) fprintf (stderr, "Duplicate code point: %04X\n", ix);