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.5 by greg, Mon Jun 24 10:06:40 1996 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 <signal.h>
14   #include <fcntl.h>
15   #include "netproc.h"
16 + #include "paths.h"
17   #include "vfork.h"
18                                          /* select call compatibility stuff */
19   #ifndef FD_SETSIZE
# Line 38 | Line 38 | PSERVER        *pslist = NULL;         /* global process server list
38   static PROC     *pindex[FD_SETSIZE];    /* process index table */
39  
40   static char     ourhost[64];    /* this host name */
41 < static char     ourdir[MAXPATHLEN];     /* our working directory */
41 > static char     ourdir[MAXPATH];        /* our working directory */
42   static char     ouruser[32];    /* our user name */
43   static char     *ourshell;      /* our user's shell */
44  
# Line 64 | Line 64 | int    np;
64          if (ps == NULL)
65                  return(NULL);
66          if (!ourhost[0]) {              /* initialize */
67 <                char    dirtmp[MAXPATHLEN];
67 >                char    dirtmp[MAXPATH];
68                  register char   *cp;
69                  register int    len;
70  
# Line 170 | Line 170 | register PSERVER       *ps;
170   char    *command;
171   int     (*compf)();
172   {
173 <        char    udirt[MAXPATHLEN];
173 >        char    udirt[MAXPATH];
174          char    *av[16];
175          int     pfd[2], pid;
176          register int    i;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines