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

Comparing ray/src/util/win_netproc.c (file contents):
Revision 2.2 by schorsch, Fri Mar 26 21:36:20 2004 UTC vs.
Revision 2.5 by schorsch, Sun Mar 6 01:13:18 2016 UTC

# Line 27 | Line 27 | static char    *ourshell;
27   static char     ouruser[32];
28   PSERVER *pslist = NULL;
29  
30 < PSERVER* addpserver(char* host, char* dir, char* usr, int np) {
30 > PSERVER*
31 > addpserver(
32 >        char* host,
33 >        char* dir,
34 >        char* usr,
35 >        int np
36 > )
37 > {
38          PSERVER* ps;
39          if (np < 1)
40                  return(NULL);
# Line 42 | Line 49 | PSERVER* addpserver(char* host, char* dir, char* usr,
49                  register int    len;
50  
51                  strcpy(ourhost, myhostname());
52 <                getcwd(dirtmp, sizeof(dirtmp));
52 >                _getcwd(dirtmp, sizeof(dirtmp));
53                  if ((cp = getenv("HOME")) != NULL) {
54                          if (!strcmp(cp, dirtmp))
55                                  ourdir[0] = '\0';
# Line 105 | Line 112 | PSERVER* findjob(int *pnp)
112          return &ps;
113   }
114  
108 int
109 kill(pid_t pid, int sig)
110 {
111        return 0;
112 }
115  
116   int startjob(
117          PSERVER* pPS,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines