Tartarus CVS: putty simon

tartarus-commits-admin@lists.tartarus.org tartarus-commits-admin@lists.tartarus.org
Tue, 18 Sep 2001 20:41:07 +0100


CVSROOT:	/home/cvs
Module name:	putty
Changes by:	simon	01/09/18 20:41:07

Modified files:
	.              : putty.h scp.c terminal.c window.c 

Log message:
terminal.c's from_backend() no longer calls term_out(), because
term_out() can in turn call ldisc_send() which calls back to
from_backend() when local echo is enabled. This was giving rise to
crazy re-entrancy stuff and stack overflows. Instead from_backend()
deposits its data in a bufchain which term_out() empties the next
time it's called.