projects
/
platform
/
upstream
/
ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
056631a
)
build log entries can be over 64kb(!)
author
Evan Martin
<martine@danga.com>
Fri, 7 Jan 2011 23:20:22 +0000
(15:20 -0800)
committer
Evan Martin
<martine@danga.com>
Fri, 7 Jan 2011 23:20:22 +0000
(15:20 -0800)
src/build_log.cc
patch
|
blob
|
history
diff --git
a/src/build_log.cc
b/src/build_log.cc
index
65567da
..
4ee7cf1
100644
(file)
--- 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, ' ');