home *** CD-ROM | disk | FTP | other *** search
- *** fetch.c.orig Mon Jun 11 15:32:59 1990
- --- fetch.c Tue Jun 12 19:05:21 1990
- ***************
- *** 57,67 ****
- --- 57,72 ----
- return (namp);
- }
-
- + #ifdef sun
- + struct user *up;
- + #define u (*up)
- + #else
- union {
- struct user user;
- char upages[UPAGES][NBPG];
- } user;
- #define u user.user
- + #endif
-
- char *
- getcmd(pid, mproc)
- ***************
- *** 84,89 ****
- --- 89,102 ----
- return (cmd);
- }
-
- + #ifdef sun
- + getu( pp )
- + struct proc *pp;
- + {
- + up = kvm_getu( kvm, pp );
- + return( up != NULL );
- + }
- + #else
- static int argaddr;
- static int pcbpf;
-
- ***************
- *** 138,143 ****
- --- 151,157 ----
- }
- return (1);
- }
- + #endif
-
- klseek(fd, loc, off)
- int fd;
-