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.5 by schorsch, Sat Oct 23 18:55:52 2004 UTC vs.
Revision 3.6 by schorsch, Mon Sep 19 11:30:10 2005 UTC

# Line 281 | Line 281 | open_process(SUBPROC *proc, char *av[])
281  
282          proc->running = 0;
283          cmdpath = getpath(av[0], getenv("PATH"), X_OK);
284 <        cmdstr = quoted_cmdline(cmdpath, av);
284 >        cmdstr = quoted_cmdline(cmdpath, av+1);
285          if (cmdstr == NULL) { return 0; }
286          return start_process(proc, cmdstr);
287   }
# Line 325 | Line 325 | close_process(SUBPROC *proc) {
325                  /* something went wrong: enforce infanticide */
326                  /* other than that, it looks like we want to ignore errors here */
327                  if (proc->running) {
328 <                        int win_kill(pid, 0);
328 >                        win_kill(pid, 0);
329                  }
330          }
331          proc->running = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines