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/util.h | |
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/util.h')
-rw-r--r-- | src/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -43,8 +43,8 @@ void Error(const char* msg, ...); /// Canonicalize a path like "foo/../bar.h" into just "bar.h". /// |slash_bits| has bits set starting from lowest for a backslash that was /// normalized to a forward slash. (only used on Windows) -bool CanonicalizePath(string* path, unsigned int* slash_bits, string* err); -bool CanonicalizePath(char* path, size_t* len, unsigned int* slash_bits, +bool CanonicalizePath(string* path, uint64_t* slash_bits, string* err); +bool CanonicalizePath(char* path, size_t* len, uint64_t* slash_bits, string* err); /// Appends |input| to |*result|, escaping according to the whims of either |