summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-05-03 23:26:46 (GMT)
committerEvan Martin <martine@danga.com>2011-05-03 23:26:46 (GMT)
commit27df776e25ccd445068f2ab0bf7bad2b1d2937b1 (patch)
tree52372248a367cd15106c9f5cffe0c6eed7aa33fb /src
parentce42df5675b4c60831e753e4607750b8f4328bda (diff)
parent88b462a52e0028b3072a94639bd744c9b87d4642 (diff)
downloadNinja-27df776e25ccd445068f2ab0bf7bad2b1d2937b1.zip
Ninja-27df776e25ccd445068f2ab0bf7bad2b1d2937b1.tar.gz
Ninja-27df776e25ccd445068f2ab0bf7bad2b1d2937b1.tar.bz2
Merge pull request #38 from SByer/path_fix.
Needed more path components to build Chrome.
Diffstat (limited to 'src')
-rw-r--r--src/util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cc b/src/util.cc
index c37882f..e48c277 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -69,7 +69,7 @@ bool CanonicalizePath(string* path, string* err) {
// we overwrite path with these new substrings (since the path only
// ever gets shorter, we can just use memmove within it).
- const int kMaxPathComponents = 20;
+ const int kMaxPathComponents = 30;
const char* starts[kMaxPathComponents]; // Starts of path components.
int lens[kMaxPathComponents]; // Lengths of path components.