ENH: limit the output of system information to no more than 50K per file

This commit is contained in:
Ken Martin 2007-03-02 10:57:20 -05:00
parent 8e702e6977
commit 971f9e4869
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ MACRO(DUMP_FILE THE_FILE)
FILE(APPEND "${RESULT_FILE}" FILE(APPEND "${RESULT_FILE}"
"=================================================================\n") "=================================================================\n")
FILE(READ "${THE_FILE}" FILE_CONTENTS) FILE(READ "${THE_FILE}" FILE_CONTENTS LIMIT 50000)
FILE(APPEND "${RESULT_FILE}" "${FILE_CONTENTS}") FILE(APPEND "${RESULT_FILE}" "${FILE_CONTENTS}")
ENDIF (EXISTS "${THE_FILE}") ENDIF (EXISTS "${THE_FILE}")
ENDMACRO(DUMP_FILE) ENDMACRO(DUMP_FILE)