ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/Development/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.15 by greg, Thu May 23 01:28:07 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++)
# Line 923 | Line 922 | main(int argc, char *argv[])
922                                  if (n && !isflt(argv[i+1])) {
923                                          mop[nmats].preop.csym = argv[++i];
924                                          mop[nmats].preop.clen = 0;
925 +                                        mcat_last = 0;
926                                          break;
927                                  }
928                                  if (n > MAXCOMP*MAXCOMP) n = MAXCOMP*MAXCOMP;

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)