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

Comparing ray/src/cv/rad2mgf.c (file contents):
Revision 2.29 by greg, Tue Apr 22 04:45:25 2025 UTC vs.
Revision 2.30 by greg, Tue Apr 22 14:51:29 2025 UTC

# Line 194 | Line 194 | rad2mgf(               /* convert a Radiance file to MGF */
194                          break;
195                  }
196          if (inp[0] == '!') {
197 <                if (pclose(fp) != 0) {
198 <                        fprintf(stderr, "%s: bad exit status\n", inp);
199 <                        exit(1);
200 <                }
197 >                if (pclose(fp) != 0)
198 >                        fprintf(stderr, "%s: warning - bad exit status\n", inp);
199          } else
200                  fclose(fp);
201          printf("# End conversion from: %s\n", inp);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines