From 4998d4ebd0e123fa468e4e153351589f83d7cca8 Mon Sep 17 00:00:00 2001 From: jason Date: Sun, 13 Apr 2025 12:05:39 -0400 Subject: [PATCH] Fix linux.dirent_name Was not searching the first possible byte for 0. --- core/sys/linux/wrappers.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/sys/linux/wrappers.odin b/core/sys/linux/wrappers.odin index ab1992a57..7b0dc61e2 100644 --- a/core/sys/linux/wrappers.odin +++ b/core/sys/linux/wrappers.odin @@ -93,10 +93,10 @@ dirent_name :: proc "contextless" (dirent: ^Dirent) -> string #no_bounds_check { trunc := min(str_size, 8) str_size -= trunc for _ in 0..