CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2021/09/11 03:05:50
Modified files: usr.bin/ssh : sftp.c Log message: Do not ignore SIGINT while waiting for input if editline(3) is not used. Instead, in non-interactive mode, exit sftp(1), like for other serious errors. As pointed out by dtucker@, when compiled without editline(3) support in portable OpenSSH, the el == NULL branch is also used for interactive mode. In that case, discard the input line and provide a fresh prompt to the user just like in the case where editline(3) is used. OK djm@