[BACK]Return to rlogin.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / rlogin

Diff for /src/usr.bin/rlogin/Attic/rlogin.c between version 1.20 and 1.21

version 1.20, 1998/06/03 16:20:33 version 1.21, 1998/07/12 08:07:12
Line 212 
Line 212 
                         break;                          break;
 #ifdef KERBEROS  #ifdef KERBEROS
                 case 'k':                  case 'k':
                           (void)strncpy(dst_realm_buf, optarg,
                               sizeof dst_realm_buf-1);
                           dst_realm_buf[sizeof dst_realm_buf-1] = '\0';
                         dest_realm = dst_realm_buf;                          dest_realm = dst_realm_buf;
                         (void)strncpy(dest_realm, optarg, REALM_SZ);  
                         break;                          break;
 #endif  #endif
                 case 'l':                  case 'l':
Line 754 
Line 756 
         int n, remaining;          int n, remaining;
         char *bufp;          char *bufp;
   
 #if BSD >= 43 || defined(SUNOS4)  
         pid = getpid();         /* modern systems use positives for pid */          pid = getpid();         /* modern systems use positives for pid */
 #else  
         pid = -getpid();        /* old broken systems use negatives */  
 #endif  
         (void)signal(SIGTTOU, SIG_IGN);          (void)signal(SIGTTOU, SIG_IGN);
         (void)signal(SIGURG, oob);          (void)signal(SIGURG, oob);
         ppid = getppid();          ppid = getppid();

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21