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

Comparing ray/src/rt/devcomm.c (file contents):
Revision 2.10 by greg, Mon Nov 10 16:52:25 2003 UTC vs.
Revision 2.11 by greg, Tue Nov 11 16:24:06 2003 UTC

# Line 13 | Line 13 | static const char      RCSid[] = "$Id$";
13  
14   #include "standard.h"
15  
16 #include "paths.h"
17
16   #include "driver.h"
17  
18   #ifndef DEVPATH
# Line 82 | Line 80 | char   *dname, *id;
80                                                  /* open communication pipes */
81          if (pipe(p1) == -1 || pipe(p2) == -1)
82                  goto syserr;
83 <        if ((devchild = vfork()) == 0) {        /* fork driver process */
83 >        if ((devchild = fork()) == 0) { /* fork driver process */
84                  close(p1[1]);
85                  close(p2[0]);
86                  sprintf(pin, "%d", p1[0]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines