# | 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); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |