mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-29 16:54:51 +02:00
unbreak
This commit is contained in:
parent
8e3bdca1da
commit
89a1b9f908
@ -136,7 +136,7 @@ restart:
|
|||||||
|
|
||||||
/* Restore old terminal settings and signals. */
|
/* Restore old terminal settings and signals. */
|
||||||
if (memcmp(&term, &oterm, sizeof(term)) != 0)
|
if (memcmp(&term, &oterm, sizeof(term)) != 0)
|
||||||
(void)tcsetattr(input, _T_FLUSH, &term);
|
(void)tcsetattr(input, _T_FLUSH, &oterm);
|
||||||
(void)sigaction(SIGINT, &saveint, NULL);
|
(void)sigaction(SIGINT, &saveint, NULL);
|
||||||
(void)sigaction(SIGHUP, &savehup, NULL);
|
(void)sigaction(SIGHUP, &savehup, NULL);
|
||||||
(void)sigaction(SIGQUIT, &savequit, NULL);
|
(void)sigaction(SIGQUIT, &savequit, NULL);
|
||||||
@ -179,6 +179,6 @@ getpass(const char *prompt)
|
|||||||
|
|
||||||
static void handler(int s)
|
static void handler(int s)
|
||||||
{
|
{
|
||||||
|
fprintf(stderr, "COPPED A SGNAL\n");
|
||||||
signo = s;
|
signo = s;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user