jdict

command line tool for looking up terms in yomidict dictionaries
git clone anongit@rnpnr.xyz:jdict.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 29220accec6e2c331eea80cccec9da3353f63a32
Parent: 614d6295f6c26d321f5f7e3ebacae511e0545b93
Author: Randy Palamar
Date:   Sat,  8 Mar 2025 23:33:44 -0700

fix typos in stdout stream alloc

I'm not sure how I was lucky enough miss this during testing...

Diffstat:
Mplatform_linux.c | 2+-
Mplatform_posix.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/platform_linux.c b/platform_linux.c @@ -200,7 +200,7 @@ linux_main(i32 argc, char *argv[], char *envp[]) stdout_stream.fd = 1; stdout_stream.cap = 8 * MEGABYTE; - stdout_stream.data = alloc(&memory, u8, error_stream.cap, ARENA_NO_CLEAR); + stdout_stream.data = alloc(&memory, u8, stdout_stream.cap, ARENA_NO_CLEAR); i32 result = jdict(&memory, argc, argv); diff --git a/platform_posix.c b/platform_posix.c @@ -156,7 +156,7 @@ main(i32 argc, char *argv[]) stdout_stream.fd = STDOUT_FILENO; stdout_stream.cap = 8 * MEGABYTE; - stdout_stream.data = alloc(&memory, u8, error_stream.cap, ARENA_NO_CLEAR); + stdout_stream.data = alloc(&memory, u8, stdout_stream.cap, ARENA_NO_CLEAR); return jdict(&memory, argc, argv); }