commit 42588b9900ea944a0f4fc51c370f951afb682038
parent 1530dabc54860804c1819aa5baa9d6b6a4cb78c2
Author: Drew DeVault <sir@cmpwn.com>
Date: Fri, 13 Aug 2021 14:22:56 +0200
bufio: remove weird line from @test buffered_read
Not sure what this ever hoped to accomplish other than a segfault.
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/bufio/buffered.ha b/bufio/buffered.ha
@@ -239,7 +239,6 @@ fn buffered_write(s: *io::stream, buf: const []u8) (size | io::error) = {
assert(io::read(f, buf) is io::EOF);
let sourcebuf: [32]u8 = [1, 3, 3, 7, 0...];
- sourcebuf[32..36] = [7, 3, 3, 1];
let source = fixed(sourcebuf, io::mode::READ);
let fb = source: *memstream;
defer io::close(source);