# | Line 191 | Line 191 | transfer( /* transfer a Radiance picture */ | |
---|---|---|
191 | free(scanin); /* clean up */ | |
192 | if (fflush(fp) == EOF) | |
193 | goto writerr; | |
194 | < | if (oname[0] == '!') |
195 | < | pclose(fp); |
196 | < | else if (ospec != NULL) |
194 | > | if (oname[0] == '!') { |
195 | > | if (pclose(fp) != 0) |
196 | > | fprintf(stderr, "%s: warning - bad status from \"%s\"\n", |
197 | > | progname, oname); |
198 | > | } else if (ospec != NULL) |
199 | fclose(fp); | |
200 | return(1); | |
201 | writerr: |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |