summaryrefslogtreecommitdiffstats
path: root/SystemTools.hxx.in
diff options
context:
space:
mode:
authorKWSys Upstream <kwrobot@kitware.com>2018-05-18 13:51:35 (GMT)
committerBrad King <brad.king@kitware.com>2018-05-18 13:52:12 (GMT)
commit1f52cb087aeb1eef7082884df6423b749e7f50c1 (patch)
tree28222bd55aee3b3bb3641b33cc00395c7075e2ef /SystemTools.hxx.in
parent1e0a2e93775c8d3b6b81b82d285986ad2f9d1cf1 (diff)
downloadCMake-1f52cb087aeb1eef7082884df6423b749e7f50c1.zip
CMake-1f52cb087aeb1eef7082884df6423b749e7f50c1.tar.gz
CMake-1f52cb087aeb1eef7082884df6423b749e7f50c1.tar.bz2
KWSys 2018-05-18 (5357cfc4)
Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 5357cfc4af0cbef4c78df5834ff0440cee3148d1 (master). Upstream Shortlog ----------------- Peter Wu (1): 898dc6b9 SystemTools: Fix GetLineFromStream to avoid libc++ bug on OS X 10.7
Diffstat (limited to 'SystemTools.hxx.in')
-rw-r--r--SystemTools.hxx.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/SystemTools.hxx.in b/SystemTools.hxx.in
index e79e3fc..3898e3a 100644
--- a/SystemTools.hxx.in
+++ b/SystemTools.hxx.in
@@ -523,9 +523,8 @@ public:
static bool GetShortPath(const std::string& path, std::string& result);
/**
- * Read line from file. Make sure to get everything. Due to a buggy stream
- * library on the HP and another on Mac OS X, we need this very carefully
- * written version of getline. Returns true if any data were read before the
+ * Read line from file. Make sure to read a full line and truncates it if
+ * requested via sizeLimit. Returns true if any data were read before the
* end-of-file was reached. If the has_newline argument is specified, it will
* be true when the line read had a newline character.
*/