summaryrefslogtreecommitdiffstats
path: root/src/graph.cc
diff options
context:
space:
mode:
authorDaniel Weber <daniel.weber.dev@gmail.com>2016-08-22 22:26:38 (GMT)
committerDaniel Weber <daniel.weber.dev@gmail.com>2016-08-22 22:26:38 (GMT)
commitc4b09e1e7e1d531a818601be33e0ec8ee18c3cde (patch)
tree53765aa88182d29c3156fd2bea822e660e814127 /src/graph.cc
parent94fc14314501a78b1742e910f7c920188b2753da (diff)
downloadNinja-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/graph.cc')
-rw-r--r--src/graph.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graph.cc b/src/graph.cc
index f1d9ca2..a5bac1c 100644
--- a/src/graph.cc
+++ b/src/graph.cc
@@ -420,7 +420,7 @@ bool ImplicitDepLoader::LoadDepFile(Edge* edge, const string& path,
return false;
}
- unsigned int unused;
+ uint64_t unused;
if (!CanonicalizePath(const_cast<char*>(depfile.out_.str_),
&depfile.out_.len_, &unused, err))
return false;
@@ -442,7 +442,7 @@ bool ImplicitDepLoader::LoadDepFile(Edge* edge, const string& path,
// Add all its in-edges.
for (vector<StringPiece>::iterator i = depfile.ins_.begin();
i != depfile.ins_.end(); ++i, ++implicit_dep) {
- unsigned int slash_bits;
+ uint64_t slash_bits;
if (!CanonicalizePath(const_cast<char*>(i->str_), &i->len_, &slash_bits,
err))
return false;