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 1.18 by greg, Thu May 3 13:17:41 1990 UTC vs.
Revision 1.19 by greg, Thu Oct 18 13:33:09 1990 UTC

# Line 28 | Line 28 | static char SCCSid[] = "$SunId$ LBL";
28   #define vfork           fork
29   #endif
30  
31 extern char     *getpath(), *getenv();
32
31   static int      comm_close(), comm_clear(), comm_paintr(), comm_errout(),
32                  comm_getcur(), comm_comout(), comm_comin(), comm_flush();
33  
# Line 51 | Line 49 | char   *dname, *id;
49          int     p1[2], p2[2];
50          char    pin[16], pout[16];
51                                                  /* find driver program */
52 <        if ((devname = getpath(dname, DEVPATH, 1)) == NULL) {
52 >        if ((devname = getpath(dname, DEVPATH, X_OK)) == NULL) {
53                  stderr_v(dname);
54                  stderr_v(": not found\n");
55                  return(NULL);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines