projects
/
lightning.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Increase max fasta line length from 64KiB to 64MiB.
[lightning.git]
/
diff.go
diff --git
a/diff.go
b/diff.go
index f1440cef194c7dc7d086290d141fa258b3aca6be..2318c9f00b9b2a3311b91d4a386de4b77e9bc7e4 100644
(file)
--- a/
diff.go
+++ b/
diff.go
@@
-49,6
+49,7
@@
func (cmd *diffFasta) RunCommand(prog string, args []string, stdin io.Reader, st
}
defer f.Close()
scanner := bufio.NewScanner(f)
+ scanner.Buffer(nil, 64*1024*1024)
for scanner.Scan() {
buf := scanner.Bytes()
if len(buf) > 0 && buf[0] != '>' {