version 1.20, 1998/06/03 16:20:33 |
version 1.21, 1998/07/12 08:07:12 |
|
|
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': |
|
|
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(); |