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

Comparing ray/src/common/unix_process.c (file contents):
Revision 3.6 by greg, Sun Sep 19 08:42:22 2004 UTC vs.
Revision 3.8 by schorsch, Wed Jun 7 17:52:03 2006 UTC

# Line 13 | Line 13 | static const char      RCSid[] = "$Id$";
13   #include <sys/types.h>
14   #include <sys/wait.h>
15   #include <fcntl.h>
16 + #include <stdlib.h>
17  
18   #include "rtprocess.h"
19 + #include "rtio.h"
20  
21  
22   int
# Line 23 | Line 25 | SUBPROC *pd,
25   char    *av[]
26   )
27   {
26        extern char     *getpath(), *getenv();
28          char    *compath;
29          int     p0[2], p1[2];
30  
# Line 73 | Line 74 | close_process(         /* close pipes and wait for process */
74   SUBPROC *pd
75   )
76   {
77 <        int     pid, status;
77 >        int     status;
78  
79          if (!pd->running)
80                  return(0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines