]> git.armaanb.net Git - st.git/commit
Avoid recursive call to ttywrite from ttyread
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Sat, 21 Nov 2015 17:21:03 +0000 (18:21 +0100)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Sat, 21 Nov 2015 17:21:03 +0000 (18:21 +0100)
commit375b28720f7c78e6fac1c274f9dee7c40a78aacb
treedf9bdab5affc8bb59a3276b3f0e31809f7344a37
parentd836561b96097b04760104e7e0f8d014f5889a18
Avoid recursive call to ttywrite from ttyread

Ttyread() calls to ttywrite, so if we check for reading before
that for writing in ttywrite we can get a circular call sequence.
st.c