summaryrefslogtreecommitdiffstats
path: root/Modules/SystemInformation.cmake
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-03-02 15:57:20 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-03-02 15:57:20 (GMT)
commit971f9e48691dc372c6c99ab4a128891ffc5402d4 (patch)
treedcbcab9a3364eab59ff018039af6a4179daee6fe /Modules/SystemInformation.cmake
parent8e702e69770163c599c6d46335550f6fbd03f30b (diff)
downloadCMake-971f9e48691dc372c6c99ab4a128891ffc5402d4.zip
CMake-971f9e48691dc372c6c99ab4a128891ffc5402d4.tar.gz
CMake-971f9e48691dc372c6c99ab4a128891ffc5402d4.tar.bz2
ENH: limit the output of system information to no more than 50K per file
Diffstat (limited to 'Modules/SystemInformation.cmake')
-rw-r--r--Modules/SystemInformation.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/SystemInformation.cmake b/Modules/SystemInformation.cmake
index 4ca2ef1..370778c 100644
--- a/Modules/SystemInformation.cmake
+++ b/Modules/SystemInformation.cmake
@@ -72,7 +72,7 @@ MACRO(DUMP_FILE THE_FILE)
FILE(APPEND "${RESULT_FILE}"
"=================================================================\n")
- FILE(READ "${THE_FILE}" FILE_CONTENTS)
+ FILE(READ "${THE_FILE}" FILE_CONTENTS LIMIT 50000)
FILE(APPEND "${RESULT_FILE}" "${FILE_CONTENTS}")
ENDIF (EXISTS "${THE_FILE}")
ENDMACRO(DUMP_FILE)