| # | Line 341 | Line 341 | main(int argc, char *argv[]) | |
|---|---|---|
| 341 | if (!(asiz < 0 ? colr_copyf(fp) : | |
| 342 | !asiz ? ascii_copyf(fp) : binary_copyf(fp, asiz))) | |
| 343 | return(1); | |
| 344 | + | /* need to consume the rest? */ |
| 345 | + | if (fp == stdin && rmin+nrows < numscans(&res) && |
| 346 | + | fseek(fp, 0L, SEEK_END) < 0) |
| 347 | + | while (getc(fp) != EOF) |
| 348 | + | ; |
| 349 | return(0); | |
| 350 | usage: | |
| 351 | fputs("Usage: ", stderr); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |