summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/tclUnixPipe.c')
-rw-r--r--unix/tclUnixPipe.c2
1 files changed, 1 insertions, 1 deletions
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;