Replace remaining mysignal() with signal().
These seem to have been missed during the replacement of mysignal
with #define signal in commit 5ade9ab
. Both include the requisite
headers to pick up the #define.
This commit is contained in:
parent
265d88d4e6
commit
389125b25d
|
@ -108,7 +108,7 @@ get_random_bytes_prngd(unsigned char *buf, int len,
|
||||||
strlen(socket_path) + 1;
|
strlen(socket_path) + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
old_sigpipe = mysignal(SIGPIPE, SIG_IGN);
|
old_sigpipe = signal(SIGPIPE, SIG_IGN);
|
||||||
|
|
||||||
errors = 0;
|
errors = 0;
|
||||||
rval = -1;
|
rval = -1;
|
||||||
|
@ -158,7 +158,7 @@ reopen:
|
||||||
|
|
||||||
rval = 0;
|
rval = 0;
|
||||||
done:
|
done:
|
||||||
mysignal(SIGPIPE, old_sigpipe);
|
signal(SIGPIPE, old_sigpipe);
|
||||||
if (fd != -1)
|
if (fd != -1)
|
||||||
close(fd);
|
close(fd);
|
||||||
return rval;
|
return rval;
|
||||||
|
|
|
@ -373,7 +373,7 @@ server_loop2(struct ssh *ssh, Authctxt *authctxt)
|
||||||
|
|
||||||
debug("Entering interactive session for SSH2.");
|
debug("Entering interactive session for SSH2.");
|
||||||
|
|
||||||
mysignal(SIGCHLD, sigchld_handler);
|
signal(SIGCHLD, sigchld_handler);
|
||||||
child_terminated = 0;
|
child_terminated = 0;
|
||||||
connection_in = packet_get_connection_in();
|
connection_in = packet_get_connection_in();
|
||||||
connection_out = packet_get_connection_out();
|
connection_out = packet_get_connection_out();
|
||||||
|
|
Loading…
Reference in New Issue