# | Line 57 | Line 57 | readobj2( /* read in an object file or stream */ | |
---|---|---|
57 | getobject2(input, infp, callback); | |
58 | } | |
59 | } | |
60 | < | if (input[0] == '!') |
61 | < | pclose(infp); |
62 | < | else |
60 | > | if (input[0] == '!') { |
61 | > | if (pclose(infp) != 0) { |
62 | > | sprintf(errmsg, "bad status from \"%s\"", input); |
63 | > | error(SYSTEM, errmsg); |
64 | > | } |
65 | > | } else |
66 | fclose(infp); | |
67 | } | |
68 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |