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

Comparing ray/src/gen/mkillum.c (file contents):
Revision 2.13 by schorsch, Sun Jun 8 12:03:10 2003 UTC vs.
Revision 2.14 by schorsch, Thu Jun 26 00:58:09 2003 UTC

# Line 9 | Line 9 | static const char RCSid[] = "$Id$";
9   #include  <ctype.h>
10   #include  <stdio.h>
11  
12 + #include  "standard.h"
13   #include  "platform.h"
14   #include  "mkillum.h"
15  
# Line 137 | Line 138 | int  status;
138   {
139          int     rtstat;
140  
141 <        rtstat = close_process(rt.pd);
141 >        rtstat = close_process(&(rt.pd));
142          if (status == 0)
143                  if (rtstat < 0)
144                          error(WARNING,
# Line 157 | Line 158 | init()                         /* start rtrace and set up buffers */
158          ofun[OBJ_SPHERE].funp = o_sphere;
159          ofun[OBJ_RING].funp = o_ring;
160                                          /* set up signal handling */
161 < #ifndef _WIN32 /* XXX what do we use instead? */
161 > #ifdef SIGPIPE /* not present on Windows */
162          signal(SIGPIPE, quit);
163   #endif
164                                          /* start rtrace process */
165          errno = 0;
166 <        maxbytes = open_process(rt.pd, rtargv);
166 >        maxbytes = open_process(&(rt.pd), rtargv);
167          if (maxbytes == 0) {
168                  eputs(rtargv[0]);
169                  eputs(": command not found\n");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines