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:
Brad King 2010-12-16 17:41:27 -05:00
parent 63d21c1f8e
commit b97760fa52
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ cmDepends::cmDepends(cmLocalGenerator* lg, const char* targetDir):
Verbose(false),
FileComparison(0),
TargetDirectory(targetDir),
MaxPath(cmSystemTools::GetMaximumFilePathLength()),
MaxPath(16384),
Dependee(new char[MaxPath]),
Depender(new char[MaxPath])
{