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.1 by greg, Thu Jan 18 11:24:53 1996 UTC vs.
Revision 2.2 by greg, Wed Feb 7 16:42:45 1996 UTC

# Line 75 | Line 75 | int    np;
75                  register char   *cp;
76                  register int    len;
77  
78 <                gethostname(ourhost, sizeof(ourhost));
78 >                strcpy(ourhost, myhostname());
79                  getcwd(dirtmp, sizeof(dirtmp));
80                  if ((cp = getenv("HOME")) != NULL) {
81                          if (!strcmp(cp, dirtmp))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines