authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-12 03:42:51-07:00
committergravatar for squeek502@hotmail.comRyan Liptak <squeek502@hotmail.com> 2026-06-17 06:29:31+02:00
log54537285caa651573e9a86a642ba52f453373abb
tree8732c0881e968ed691d80de8fcfd0e1b3337c18d
parente74fd3ce555c675235fa65fa3647caeb4757b4cd

std.Io.Threaded: remove trailing slash from default_PATH entry

previously this would have spawnPosix to try launching eg `/bin//foo`

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/Io/Threaded.zig+1-1
......@@ -1563,7 +1563,7 @@ pub const splat_buffer_size = 64;
15631563/// NtWaitForMultipleObjects accepts. We use this value also for poll() on
15641564/// posix systems.
15651565const poll_buffer_len = 64;
1566pub const default_PATH = "/usr/local/bin:/bin/:/usr/bin";
1566pub const default_PATH = "/usr/local/bin:/bin:/usr/bin";
15671567/// There are multiple kernel bugs being worked around with retries.
15681568const max_windows_kernel_bug_retries = 13;
15691569