aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/env.h
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-05-05 20:05:45 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-05-05 20:22:20 -0700
commitbc6cc4c10566f140c6c0575da8153c58fd8772c4 (patch)
treeea49017b4de97250be286e93a3b9a26e9d6ee5f2 /src/env.h
parent4481692037aba4ef3af1f69c43a8e1b4e1f531f3 (diff)
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
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h2
1 files changed, 0 insertions, 2 deletions
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.