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.9 by greg, Thu Jul 3 15:00:19 2003 UTC

# Line 9 | Line 9 | static const char      RCSid[] = "$Id$";
9  
10   #include "copyright.h"
11  
12 + #include  "platform.h"
13 +
14   #include "standard.h"
15  
16   #include "color.h"
# Line 78 | Line 80 | char   *dname, *id;
80                  eputs(": not found\n");
81                  return(NULL);
82          }
83 + #ifdef RHAS_FORK_EXEC
84                                                  /* open communication pipes */
85          if (pipe(p1) == -1 || pipe(p2) == -1)
86                  goto syserr;
# Line 102 | Line 105 | char   *dname, *id;
105   syserr:
106          perror(dname);
107          return(NULL);
108 +
109 + #else   /* ! RHAS_FORK_EXEC */
110 +
111 +        eputs(dname);
112 +        eputs(": no fork/exec\n");
113 +        return(NULL);
114 +
115 + #endif  /* ! RHAS_FORK_EXEC */
116   }
117  
118  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines