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

Comparing ray/src/util/rfluxmtx.c (file contents):
Revision 2.22 by greg, Wed Feb 18 06:16:02 2015 UTC vs.
Revision 2.23 by greg, Wed Feb 18 06:18:38 2015 UTC

# Line 1360 | Line 1360 | main(int argc, char *argv[])
1360          for (i = 0; i < nsbins; i++)    /* send rcontrib ray samples */
1361                  if (!(*curparams.sample_basis)(&curparams, i, rcfp))
1362                          return(1);
1363 <        return(pclose(rcfp) == 0);      /* all finished! */
1363 >        return(pclose(rcfp) < 0);       /* all finished! */
1364   userr:
1365          if (a < argc-2)
1366                  fprintf(stderr, "%s: unsupported option '%s'", progname, argv[a]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines