View | Details | Raw Unified | Return to bug 1528 | Differences between
and this patch

Collapse All | Expand All

(-)channels.c (+2 lines)
Lines 1654-1659 channel_handle_wfd(Channel *c, fd_set *r Link Here
1654
			return -1;
1654
			return -1;
1655
		}
1655
		}
1656
		if (compat20 && c->isatty && dlen >= 1 && buf[0] != '\r') {
1656
		if (compat20 && c->isatty && dlen >= 1 && buf[0] != '\r') {
1657
#ifndef BROKEN_TCGETATTR_ICANON
1657
			if (tcgetattr(c->wfd, &tio) == 0 &&
1658
			if (tcgetattr(c->wfd, &tio) == 0 &&
1658
			    !(tio.c_lflag & ECHO) && (tio.c_lflag & ICANON)) {
1659
			    !(tio.c_lflag & ECHO) && (tio.c_lflag & ICANON)) {
1659
				/*
1660
				/*
Lines 1665-1670 channel_handle_wfd(Channel *c, fd_set *r Link Here
1665
				packet_send_ignore(4 + len);
1666
				packet_send_ignore(4 + len);
1666
				packet_send();
1667
				packet_send();
1667
			}
1668
			}
1669
#endif
1668
		}
1670
		}
1669
		buffer_consume(&c->output, len);
1671
		buffer_consume(&c->output, len);
1670
		if (compat20 && len > 0) {
1672
		if (compat20 && len > 0) {
(-)configure.ac (+1 lines)
Lines 671-676 mips-sony-bsd|mips-sony-newsos4) Link Here
671
		after setsid()])
671
		after setsid()])
672
	AC_DEFINE(PASSWD_NEEDS_USERNAME, 1, [must supply username to passwd
672
	AC_DEFINE(PASSWD_NEEDS_USERNAME, 1, [must supply username to passwd
673
		in case the name is longer than 8 chars])
673
		in case the name is longer than 8 chars])
674
	AC_DEFINE(BROKEN_TCGETATTR_ICANON, tcgetattr with ICANON may hang)
674
	external_path_file=/etc/default/login
675
	external_path_file=/etc/default/login
675
	# hardwire lastlog location (can't detect it on some versions)
676
	# hardwire lastlog location (can't detect it on some versions)
676
	conf_lastlog_location="/var/adm/lastlog"
677
	conf_lastlog_location="/var/adm/lastlog"

Return to bug 1528