From bdcfe21aceb195e19bf580f2e7faf2609b6912fe Mon Sep 17 00:00:00 2001 From: GH <47375452+VlkrS@users.noreply.github.com> Date: Fri, 10 Apr 2026 19:16:26 +0200 Subject: [PATCH] Use strtok_r consistently --- src/dispatch/bind_define.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispatch/bind_define.h b/src/dispatch/bind_define.h index 89772e16..1c79ec1b 100644 --- a/src/dispatch/bind_define.h +++ b/src/dispatch/bind_define.h @@ -911,7 +911,7 @@ int32_t spawn(const Arg *arg) { argv[argc] = strdup(token); } argc++; - token = strtok(NULL, " "); + token = strtok_r(NULL, " ", &last); } if (argc == 0) {