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.7 by greg, Tue Feb 25 02:47:22 2003 UTC vs.
Revision 2.8 by greg, Wed Jul 2 01:15:20 2003 UTC

# Line 78 | Line 78 | char   *dname, *id;
78                  eputs(": not found\n");
79                  return(NULL);
80          }
81 + #ifdef RHAS_FORK_EXEC
82                                                  /* open communication pipes */
83          if (pipe(p1) == -1 || pipe(p2) == -1)
84                  goto syserr;
# Line 102 | Line 103 | char   *dname, *id;
103   syserr:
104          perror(dname);
105          return(NULL);
106 +
107 + #else   /* ! RHAS_FORK_EXEC */
108 +
109 +        eputs(dname);
110 +        eputs(": no fork/exec\n");
111 +        return(NULL);
112 +
113 + #endif  /* ! RHAS_FORK_EXEC */
114   }
115  
116  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines