From c1e69b2d6bffd5ec2ca5e44da5fc0754a51b0249 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Tue, 25 Jul 2023 07:54:42 +0000 Subject: Make use_spawn static --- unix/tclUnixPipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c index 0c9f543..e040807 100644 --- a/unix/tclUnixPipe.c +++ b/unix/tclUnixPipe.c @@ -433,7 +433,7 @@ TclpCreateProcess( int pid, i; #if defined(USE_POSIX_SPAWN) int childErrno; - int use_spawn = -1; + static int use_spawn = -1; #endif errPipeIn = NULL; -- cgit v0.12