diff options
-rw-r--r-- | src/debug_flags.cc | 2 | ||||
-rw-r--r-- | src/ninja.cc | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/debug_flags.cc b/src/debug_flags.cc index 786a100..ccd4396 100644 --- a/src/debug_flags.cc +++ b/src/debug_flags.cc @@ -16,4 +16,4 @@ bool g_explaining = false; bool g_keep_rsp = false; -bool g_experimental_win_statcache = false; +bool g_experimental_win_statcache = true; diff --git a/src/ninja.cc b/src/ninja.cc index ccfc14d..cace2a0 100644 --- a/src/ninja.cc +++ b/src/ninja.cc @@ -761,7 +761,7 @@ bool DebugEnable(const string& name) { " explain explain what caused a command to execute\n" " keeprsp don't delete @response files on success\n" #ifdef _WIN32 -" experimentalwinstatcache use an alternative method for stat()ing files\n" +" nowinstatcache don't batch stat() calls per directory and cache them\n" #endif "multiple modes can be enabled via -d FOO -d BAR\n"); return false; @@ -774,13 +774,13 @@ bool DebugEnable(const string& name) { } else if (name == "keeprsp") { g_keep_rsp = true; return true; - } else if (name == "experimentalwinstatcache") { - g_experimental_win_statcache = true; + } else if (name == "nowinstatcache") { + g_experimental_win_statcache = false; return true; } else { const char* suggestion = SpellcheckString(name.c_str(), "stats", "explain", "keeprsp", - "experimentalwinstatcache", NULL); + "nowinstatcache", NULL); if (suggestion) { Error("unknown debug setting '%s', did you mean '%s'?", name.c_str(), suggestion); |