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

Comparing ray/src/util/netproc.c (file contents):
Revision 2.4 by greg, Mon Mar 4 09:22:50 1996 UTC vs.
Revision 2.6 by gregl, Thu Sep 18 16:10:19 1997 UTC

# Line 10 | Line 10 | static char SCCSid[] = "$SunId$ LBL";
10  
11   #include <stdio.h>
12   #include <sys/types.h>
13 < #include <sys/param.h>
13 > #include <sys/select.h>
14   #include <signal.h>
15   #include <fcntl.h>
16   #include "netproc.h"
17 + #include "paths.h"
18   #include "vfork.h"
19                                          /* select call compatibility stuff */
20   #ifndef FD_SETSIZE
# Line 38 | Line 39 | PSERVER        *pslist = NULL;         /* global process server list
39   static PROC     *pindex[FD_SETSIZE];    /* process index table */
40  
41   static char     ourhost[64];    /* this host name */
42 < static char     ourdir[MAXPATHLEN];     /* our working directory */
42 > static char     ourdir[MAXPATH];        /* our working directory */
43   static char     ouruser[32];    /* our user name */
44   static char     *ourshell;      /* our user's shell */
45  
# Line 64 | Line 65 | int    np;
65          if (ps == NULL)
66                  return(NULL);
67          if (!ourhost[0]) {              /* initialize */
68 <                char    dirtmp[MAXPATHLEN];
68 >                char    dirtmp[MAXPATH];
69                  register char   *cp;
70                  register int    len;
71  
# Line 170 | Line 171 | register PSERVER       *ps;
171   char    *command;
172   int     (*compf)();
173   {
174 <        char    udirt[MAXPATHLEN];
174 >        char    udirt[MAXPATH];
175          char    *av[16];
176          int     pfd[2], pid;
177          register int    i;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines