# | Line 78 | Line 78 | char *argv[]; | |
---|---|---|
78 | /* get their image resolution */ | |
79 | xmax = getint(4, stdin); | |
80 | ymax = getint(4, stdin); | |
81 | + | if (feof(stdin)) |
82 | + | quiterr("empty input file"); |
83 | /* put our header */ | |
84 | printargs(i, argv, stdout); | |
85 | fputformat(COLRFMT, stdout); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |