tMake comment match code. - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 0fa6e0cfbf480077fadc0cb5f3fd8d1ebad5b00e
(DIR) parent 8773b4b2383644cdbfed598bd9596921233b9e62
(HTM) Author: rsc <devnull@localhost>
Date: Fri, 6 Aug 2004 12:44:41 +0000
Make comment match code.
Diffstat:
M src/cmd/9term/9term.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c
t@@ -1013,10 +1013,11 @@ consread(void)
n = p-buf;
/*
- * We've been echoing, so make sure the terminal isn't
+ * If we've been echoing, make sure the terminal isn't
* while we do the write. This screws up if someone
- * else tries to turn on echo at the same time (we'll turn it
- * off again after the write), but that's not too likely.
+ * else tries to turn off echo at the same time we do
+ * (we'll turn it on again after the write), but that's not
+ * too likely.
*/
s = setecho(sfd, 0);
if(write(rcfd, buf, n) < 0)