Increased MaxIncludeFiles limit & filed issue #866 (#867)

This commit is contained in:
Ehsan 2017-12-01 14:01:33 -05:00 коммит произвёл GitHub
Родитель 2624406a58
Коммит 43e5436524
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -123,7 +123,7 @@ const DxcArgsHandle OutputHandle(SpecialValue::Output);
/// Max number of included files (1:1 to their directories) or search directories. /// Max number of included files (1:1 to their directories) or search directories.
/// If programs include more than a handful, DxcArgsFileSystem will need to do better than linear scans. /// If programs include more than a handful, DxcArgsFileSystem will need to do better than linear scans.
/// If this is fired, ERROR_OUT_OF_STRUCTURES will be returned by an attempt to open a file. /// If this is fired, ERROR_OUT_OF_STRUCTURES will be returned by an attempt to open a file.
static const size_t MaxIncludedFiles = 200; static const size_t MaxIncludedFiles = 1000;
bool IsAbsoluteOrCurDirRelativeW(LPCWSTR Path) { bool IsAbsoluteOrCurDirRelativeW(LPCWSTR Path) {
if (!Path || !Path[0]) return FALSE; if (!Path || !Path[0]) return FALSE;