Remove call to SystemTools::GetMaximumFilePathLength
The KWSys SystemTools::GetMaximumFilePathLength method is poorly conceived and should not be used. The cmDepends code honors its own MaxPath buffer size. Just hard-code it.
This commit is contained in:
parent
63d21c1f8e
commit
b97760fa52
@ -25,7 +25,7 @@ cmDepends::cmDepends(cmLocalGenerator* lg, const char* targetDir):
|
|||||||
Verbose(false),
|
Verbose(false),
|
||||||
FileComparison(0),
|
FileComparison(0),
|
||||||
TargetDirectory(targetDir),
|
TargetDirectory(targetDir),
|
||||||
MaxPath(cmSystemTools::GetMaximumFilePathLength()),
|
MaxPath(16384),
|
||||||
Dependee(new char[MaxPath]),
|
Dependee(new char[MaxPath]),
|
||||||
Depender(new char[MaxPath])
|
Depender(new char[MaxPath])
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user