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.13 by greg, Mon Sep 20 16:26:58 2004 UTC vs.
Revision 2.15 by greg, Thu Aug 21 07:05:58 2008 UTC

# Line 54 | Line 54 | final_connect(void)                            /* verify and initialize connec
54          getstate();
55                                                  /* set error vectors */
56          erract[COMMAND].pf = comm_comout;
57 +        /*                                      doesn't work with raypcalls.c
58          if (erract[WARNING].pf != NULL)
59                  erract[WARNING].pf = comm_comout;
60 +        */
61          return(&comm_driver);
62   }
63  
# Line 97 | Line 99 | comm_init(                     /* set up and execute driver */
99                  close(p2[0]);
100                  sprintf(pin, "%d", p1[0]);
101                  sprintf(pout, "%d", p2[1]);
102 <                execl(dvcname, dname, pin, pout, id, 0);
102 >                execl(dvcname, dname, pin, pout, id, NULL);
103                  perror(dvcname);
104                  _exit(127);
105          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines