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.7 by gregl, Thu Oct 16 13:48:49 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 > #ifdef INCL_SEL_H
14 > #include <sys/select.h>
15 > #endif
16   #include <signal.h>
17   #include <fcntl.h>
18   #include "netproc.h"
19 + #include "paths.h"
20   #include "vfork.h"
21                                          /* select call compatibility stuff */
22   #ifndef FD_SETSIZE
# Line 38 | Line 41 | PSERVER        *pslist = NULL;         /* global process server list
41   static PROC     *pindex[FD_SETSIZE];    /* process index table */
42  
43   static char     ourhost[64];    /* this host name */
44 < static char     ourdir[MAXPATHLEN];     /* our working directory */
44 > static char     ourdir[MAXPATH];        /* our working directory */
45   static char     ouruser[32];    /* our user name */
46   static char     *ourshell;      /* our user's shell */
47  
# Line 64 | Line 67 | int    np;
67          if (ps == NULL)
68                  return(NULL);
69          if (!ourhost[0]) {              /* initialize */
70 <                char    dirtmp[MAXPATHLEN];
70 >                char    dirtmp[MAXPATH];
71                  register char   *cp;
72                  register int    len;
73  
# Line 170 | Line 173 | register PSERVER       *ps;
173   char    *command;
174   int     (*compf)();
175   {
176 <        char    udirt[MAXPATHLEN];
176 >        char    udirt[MAXPATH];
177          char    *av[16];
178          int     pfd[2], pid;
179          register int    i;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines