mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
Make comment match code.
This commit is contained in:
parent
8773b4b238
commit
0fa6e0cfbf
1 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue