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

Comparing ray/src/util/rcomb.c (file contents):
Revision 2.13 by greg, Wed May 22 00:39:30 2024 UTC vs.
Revision 2.14 by greg, Wed May 22 15:38:04 2024 UTC

# Line 725 | Line 725 | combine_input()
725          sigaddset(&iomask, SIGIO);
726          for (cur_row = row0; (in_nrows <= 0) | (cur_row < in_nrows); cur_row += rstep) {
727              RMATRIX     *mres = NULL;
728 <            for (i = 0; i < nmats; i++) {
729 <                if (inchild >= 0) sigprocmask(SIG_BLOCK, &iomask, NULL);
728 >            if (inchild >= 0) sigprocmask(SIG_BLOCK, &iomask, NULL);
729 >            for (i = 0; i < nmats; i++)
730                  if (!rmx_load_row(mop[i].imx.mtx, &mop[i].imx, mop[i].infp)) {
731                          if (cur_row > in_nrows) /* unknown #input rows? */
732                                  break;
# Line 734 | Line 734 | combine_input()
734                                          mop[i].inspec, cur_row);
735                          return(0);
736                  }
737 <                if (inchild >= 0) sigprocmask(SIG_UNBLOCK, &iomask, NULL);
738 <            }
737 >            if (inchild >= 0) sigprocmask(SIG_UNBLOCK, &iomask, NULL);
738              if (i < nmats)
739                  break;
740              for (i = 0; i < nmats; i++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines