summaryrefslogtreecommitdiffstats
path: root/src/util.cc
diff options
context:
space:
mode:
authorScott Byer <scottbyer@chromium.org>2011-05-03 17:34:44 (GMT)
committerScott Byer <scottbyer@chromium.org>2011-05-03 17:43:59 (GMT)
commit88b462a52e0028b3072a94639bd744c9b87d4642 (patch)
tree52372248a367cd15106c9f5cffe0c6eed7aa33fb /src/util.cc
parentce42df5675b4c60831e753e4607750b8f4328bda (diff)
downloadNinja-88b462a52e0028b3072a94639bd744c9b87d4642.zip
Ninja-88b462a52e0028b3072a94639bd744c9b87d4642.tar.gz
Ninja-88b462a52e0028b3072a94639bd744c9b87d4642.tar.bz2
Needed more path components to build Chrome. One path component in an uncommon
sub-library ended up with 27 slashes in it.
Diffstat (limited to 'src/util.cc')
-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.