diff options
author | Scott Byer <scottbyer@chromium.org> | 2011-05-03 17:34:44 (GMT) |
---|---|---|
committer | Scott Byer <scottbyer@chromium.org> | 2011-05-03 17:43:59 (GMT) |
commit | 88b462a52e0028b3072a94639bd744c9b87d4642 (patch) | |
tree | 52372248a367cd15106c9f5cffe0c6eed7aa33fb /src/util.cc | |
parent | ce42df5675b4c60831e753e4607750b8f4328bda (diff) | |
download | Ninja-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.cc | 2 |
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. |