| # | Line 64 | Line 64 | readobj( /* read in an object file or stream */ | |
|---|---|---|
| 64 | getobject(inpspec, infp); | |
| 65 | } | |
| 66 | } | |
| 67 | < | if (inpspec[0] == '!') |
| 68 | < | pclose(infp); |
| 69 | < | else if (infp != stdin) |
| 67 | > | if (inpspec[0] == '!') { |
| 68 | > | if (pclose(infp) != 0) { |
| 69 | > | sprintf(errmsg, "bad status from \"%s\"", inpspec); |
| 70 | > | error(USER, errmsg); |
| 71 | > | } |
| 72 | > | } else if (infp != stdin) |
| 73 | fclose(infp); | |
| 74 | #ifdef getc_unlocked | |
| 75 | else | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |