version 1.90, 2021/07/13 23:48:36 |
version 1.91, 2021/07/23 04:00:59 |
|
|
/* from ssh.c */ |
/* from ssh.c */ |
extern int tty_flag; |
extern int tty_flag; |
extern Options options; |
extern Options options; |
extern int stdin_null_flag; |
|
extern char *host; |
extern char *host; |
extern struct sshbuf *command; |
extern struct sshbuf *command; |
extern volatile sig_atomic_t quit_pending; |
extern volatile sig_atomic_t quit_pending; |
|
|
|
|
ssh_signal(SIGPIPE, SIG_IGN); |
ssh_signal(SIGPIPE, SIG_IGN); |
|
|
if (stdin_null_flag && stdfd_devnull(1, 0, 0) == -1) |
if (options.stdin_null && stdfd_devnull(1, 0, 0) == -1) |
fatal_f("stdfd_devnull failed"); |
fatal_f("stdfd_devnull failed"); |
|
|
if ((term = lookup_env_in_list("TERM", options.setenv, |
if ((term = lookup_env_in_list("TERM", options.setenv, |
|
|
|
|
ssh_signal(SIGPIPE, SIG_IGN); |
ssh_signal(SIGPIPE, SIG_IGN); |
|
|
if (stdin_null_flag && stdfd_devnull(1, 0, 0) == -1) |
if (options.stdin_null && stdfd_devnull(1, 0, 0) == -1) |
fatal_f("stdfd_devnull failed"); |
fatal_f("stdfd_devnull failed"); |
|
|
if ((m = sshbuf_new()) == NULL) |
if ((m = sshbuf_new()) == NULL) |