summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.hxx.in
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-03-01 19:30:42 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-03-01 19:30:42 (GMT)
commitae3ef643071099ae1fd76d0b7dfbf4459c100519 (patch)
tree7bd0fa83e647a3f853f2bdd8bb15a1ac69455b7b /Source/kwsys/SystemTools.hxx.in
parentc733ab2701a0915b3ec1728d341fae5bb850f7b5 (diff)
downloadCMake-ae3ef643071099ae1fd76d0b7dfbf4459c100519.zip
CMake-ae3ef643071099ae1fd76d0b7dfbf4459c100519.tar.gz
CMake-ae3ef643071099ae1fd76d0b7dfbf4459c100519.tar.bz2
ENH: added a limit to the getline method
Diffstat (limited to 'Source/kwsys/SystemTools.hxx.in')
-rw-r--r--Source/kwsys/SystemTools.hxx.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in
index 5d7214d..054666f 100644
--- a/Source/kwsys/SystemTools.hxx.in
+++ b/Source/kwsys/SystemTools.hxx.in
@@ -434,7 +434,8 @@ public:
*/
static bool GetLineFromStream(kwsys_ios::istream& istr,
kwsys_stl::string& line,
- bool* has_newline=0);
+ bool* has_newline=0,
+ long sizeLimit=-1);
/**
* Get the parent directory of the directory or file