summaryrefslogtreecommitdiffstats
path: root/src/build_log.cc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-01-07 23:20:22 (GMT)
committerEvan Martin <martine@danga.com>2011-01-07 23:20:22 (GMT)
commitbe51721782291cf5f8087729c574b1182f98c96c (patch)
treee24459cf2fc2c47d52e7e7a3daada6b59fdd2c26 /src/build_log.cc
parent056631aa9618bff2033086d28a4ffd6b1a7268b4 (diff)
downloadNinja-be51721782291cf5f8087729c574b1182f98c96c.zip
Ninja-be51721782291cf5f8087729c574b1182f98c96c.tar.gz
Ninja-be51721782291cf5f8087729c574b1182f98c96c.tar.bz2
build log entries can be over 64kb(!)
Diffstat (limited to 'src/build_log.cc')
-rw-r--r--src/build_log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build_log.cc b/src/build_log.cc
index 65567da..4ee7cf1 100644
--- a/src/build_log.cc
+++ b/src/build_log.cc
@@ -58,7 +58,7 @@ bool BuildLog::Load(const string& path, string* err) {
return false;
}
- char buf[4 << 10];
+ char buf[256 << 10];
while (fgets(buf, sizeof(buf), file)) {
char* start = buf;
char* end = strchr(start, ' ');