diff options
author | Daniel Weber <daniel.weber.dev@gmail.com> | 2016-08-22 22:26:38 (GMT) |
---|---|---|
committer | Daniel Weber <daniel.weber.dev@gmail.com> | 2016-08-22 22:26:38 (GMT) |
commit | c4b09e1e7e1d531a818601be33e0ec8ee18c3cde (patch) | |
tree | 53765aa88182d29c3156fd2bea822e660e814127 /src/ninja.cc | |
parent | 94fc14314501a78b1742e910f7c920188b2753da (diff) | |
download | Ninja-c4b09e1e7e1d531a818601be33e0ec8ee18c3cde.zip Ninja-c4b09e1e7e1d531a818601be33e0ec8ee18c3cde.tar.gz Ninja-c4b09e1e7e1d531a818601be33e0ec8ee18c3cde.tar.bz2 |
Allow more path components
- 60 instead of 30 path components
- 64 instead of 32 backslashes in a path (windows only)
Issue: 1161
Diffstat (limited to 'src/ninja.cc')
-rw-r--r-- | src/ninja.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ninja.cc b/src/ninja.cc index 25eafe8..4fb04ad 100644 --- a/src/ninja.cc +++ b/src/ninja.cc @@ -233,7 +233,7 @@ int GuessParallelism() { /// Returns true if the manifest was rebuilt. bool NinjaMain::RebuildManifest(const char* input_file, string* err) { string path = input_file; - unsigned int slash_bits; // Unused because this path is only used for lookup. + uint64_t slash_bits; // Unused because this path is only used for lookup. if (!CanonicalizePath(&path, &slash_bits, err)) return false; Node* node = state_.LookupNode(path); @@ -255,7 +255,7 @@ bool NinjaMain::RebuildManifest(const char* input_file, string* err) { Node* NinjaMain::CollectTarget(const char* cpath, string* err) { string path = cpath; - unsigned int slash_bits; + uint64_t slash_bits; if (!CanonicalizePath(&path, &slash_bits, err)) return NULL; |