ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/ra_rgbe.c
(Generate patch)

Comparing ray/src/px/ra_rgbe.c (file contents):
Revision 2.24 by greg, Tue Apr 22 04:45:25 2025 UTC vs.
Revision 2.26 by greg, Sat Jun 7 05:09:46 2025 UTC

# 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 192 | Line 191 | transfer(                      /* transfer a Radiance picture */
191          if (fflush(fp) == EOF)
192                  goto writerr;
193          if (oname[0] == '!') {
194 <                if (pclose(fp) != 0) {
195 <                        fprintf(stderr, "%s: bad status from \"%s\"\n",
194 >                if (pclose(fp) != 0)
195 >                        fprintf(stderr, "%s: warning - bad status from \"%s\"\n",
196                                          progname, oname);
198                        exit(1);
199                }
197          } else if (ospec != NULL)
198                  fclose(fp);
199          return(1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines