diff options
author | Bill Fenner <fenner@FreeBSD.org> | 2002-02-27 22:45:10 +0000 |
---|---|---|
committer | Bill Fenner <fenner@FreeBSD.org> | 2002-02-27 22:45:10 +0000 |
commit | 1f5e29c9569b2ebee3528eac0363bd7f03ff5372 (patch) | |
tree | 86d5fe98aeeac3d4632bd1acd41f34484440b931 /usr.bin/rlogin | |
parent | 57c1a0b6bf8d661679f57a047ff042b274cb42d0 (diff) | |
download | src-test2-1f5e29c9569b2ebee3528eac0363bd7f03ff5372.tar.gz src-test2-1f5e29c9569b2ebee3528eac0363bd7f03ff5372.zip |
Notes
Diffstat (limited to 'usr.bin/rlogin')
-rw-r--r-- | usr.bin/rlogin/rlogin.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/rlogin/rlogin.c b/usr.bin/rlogin/rlogin.c index 13782b4fe828..9bbf2a493d79 100644 --- a/usr.bin/rlogin/rlogin.c +++ b/usr.bin/rlogin/rlogin.c @@ -773,6 +773,7 @@ reader(omask) #endif (void)signal(SIGTTOU, SIG_IGN); (void)signal(SIGURG, oob); + (void)signal(SIGUSR1, oob); /* When propogating SIGURG from parent */ ppid = getppid(); (void)fcntl(rem, F_SETOWN, pid); (void)setjmp(rcvtop); @@ -864,12 +865,12 @@ lostpeer(signo) done(1); } -/* copy SIGURGs to the child process. */ +/* copy SIGURGs to the child process via SIGUSR1. */ void copytochild(signo) int signo; { - (void)kill(child, SIGURG); + (void)kill(child, SIGUSR1); } void |