hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit cf6493cc356f4d839abcde217f76177d6d0d872d
parent 372d4c80871d29ef624e6342d4a789ef54411861
Author: Alexey Yerin <yyp@disroot.org>
Date:   Sun,  2 Jan 2022 18:52:32 +0300

os+linux: fix stdout handle

Signed-off-by: Alexey Yerin <yyp@disroot.org>

Diffstat:
Mos/+linux/stdfd.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/os/+linux/stdfd.ha b/os/+linux/stdfd.ha @@ -35,7 +35,7 @@ export def BUFSIZ: size = 4096; // 4 KiB stdin = &stdin_bufio; static let stdoutbuf: [BUFSIZ]u8 = [0...]; - stdout_bufio = bufio::buffered(0, [], stdoutbuf); + stdout_bufio = bufio::buffered(1, [], stdoutbuf); stdout = &stdout_bufio; };