From 54537285caa651573e9a86a642ba52f453373abb Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Fri, 12 Jun 2026 03:42:51 -0700 Subject: [PATCH] std.Io.Threaded: remove trailing slash from default_PATH entry previously this would have spawnPosix to try launching eg `/bin//foo` --- lib/std/Io/Threaded.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/Io/Threaded.zig b/lib/std/Io/Threaded.zig index 48a0f798cd20d89eac4c928964e80d2ff65b1953..192de27ed3ac9789333b47373e05cc9fba6b2491 100644 --- a/lib/std/Io/Threaded.zig +++ b/lib/std/Io/Threaded.zig @@ -1563,7 +1563,7 @@ pub const splat_buffer_size = 64; /// NtWaitForMultipleObjects accepts. We use this value also for poll() on /// posix systems. const poll_buffer_len = 64; -pub const default_PATH = "/usr/local/bin:/bin/:/usr/bin"; +pub const default_PATH = "/usr/local/bin:/bin:/usr/bin"; /// There are multiple kernel bugs being worked around with retries. const max_windows_kernel_bug_retries = 13; -- 2.54.0