# | Line 127 | Line 127 | readoct( /* read in octree file or stream */ | |
---|---|---|
127 | } | |
128 | } | |
129 | /* close the input */ | |
130 | < | if (infn[0] == '!') |
131 | < | pclose(infp); |
132 | < | else if (infp != stdin) |
130 | > | if (inpspec[0] == '!') { |
131 | > | if (pclose(infp) != 0) { |
132 | > | sprintf(errmsg, "bad status from \"%s\"", inpspec); |
133 | > | error(WARNING, errmsg); |
134 | > | } |
135 | > | } else if (infp != stdin) |
136 | fclose(infp); | |
137 | #ifdef getc_unlocked | |
138 | else |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |