diff options
Diffstat (limited to 'sys/libn/bufio.c')
-rw-r--r-- | sys/libn/bufio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/libn/bufio.c b/sys/libn/bufio.c index cde56b7..9bca46a 100644 --- a/sys/libn/bufio.c +++ b/sys/libn/bufio.c @@ -75,7 +75,6 @@ getbyte: error bufio·ungetbyte(io·Buffer *buf, byte c) { - buf->state &= ~bufio·end; if (!(buf->state & bufio·rdr)) { errorf("attempted to unget on non-active reader"); return bufio·err; @@ -135,7 +134,6 @@ nextbyte: error bufio·ungetrune(io·Buffer *buf, rune r) { - buf->state ^= bufio·end; if (buf->state & bufio·rdr) { errorf("attempted to unget on non-active reader"); return bufio·err; |