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

Comparing ray/src/common/win_process.c (file contents):
Revision 3.10 by greg, Fri Mar 4 02:48:14 2016 UTC vs.
Revision 3.11 by greg, Fri Mar 4 19:13:53 2016 UTC

# Line 329 | Line 329 | close_processes(SUBPROC pd[], int nproc) {
329                          ocres = close(pd[i].w);
330                          icres = close(pd[i].r);
331                          pd[i].running = 0;
332 <                }
333 <                if(ocres != 0 || icres != 0) {
334 <                        /* something went wrong: enforce infanticide */
335 <                        /* other than that, it looks like we want to ignore errors here */
336 <                        win_kill(pd[i].pid, 0);
332 >                        if(ocres != 0 || icres != 0) {
333 >                                /* something went wrong: enforce infanticide */
334 >                                /* other than that, it looks like we want to ignore errors here */
335 >                                win_kill(pd[i].pid, 0);
336 >                        }
337                  }
338                  pd[i].pid = 0;
339          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines