# | Line 9 | Line 9 | static const char RCSid[] = "$Id$"; | |
---|---|---|
9 | ||
10 | #include "platform.h" | |
11 | #include "rtio.h" | |
12 | – | #include "paths.h" |
12 | #include "color.h" | |
13 | #include "resolu.h" | |
14 | ||
# | Line 191 | Line 190 | transfer( /* transfer a Radiance picture */ | |
190 | free(scanin); /* clean up */ | |
191 | if (fflush(fp) == EOF) | |
192 | goto writerr; | |
193 | < | if (oname[0] == '!') |
194 | < | pclose(fp); |
195 | < | else if (ospec != NULL) |
193 | > | if (oname[0] == '!') { |
194 | > | if (pclose(fp) != 0) |
195 | > | fprintf(stderr, "%s: warning - bad status from \"%s\"\n", |
196 | > | progname, oname); |
197 | > | } else if (ospec != NULL) |
198 | fclose(fp); | |
199 | return(1); | |
200 | writerr: |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |