From bc6cc4c10566f140c6c0575da8153c58fd8772c4 Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Thu, 5 May 2016 20:05:45 -0700 Subject: fix fork debug printf() calls The fork (create new process) related debugging messages rely on an undocumented env var and use `printf()` rather than `debug()`. There are also errors in how the fork count is tracked that this fixes. Fixes #2995 --- src/env.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/env.h') diff --git a/src/env.h b/src/env.h index 682cf88d..e758a594 100644 --- a/src/env.h +++ b/src/env.h @@ -193,9 +193,7 @@ class env_vars_snapshot_t { static const wchar_t *const completing_keys[]; }; -extern bool g_log_forks; extern int g_fork_count; - extern bool g_use_posix_spawn; /// A variable entry. Stores the value of a variable and whether it should be exported. -- cgit v1.2.3