projects
/
lightning.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f34f784
)
Increase max fasta line length from 64KiB to 64MiB.
author
Tom Clegg <tom@tomclegg.ca>
Thu, 6 Aug 2020 18:01:07 +0000
(14:01 -0400)
committer
Tom Clegg <tom@tomclegg.ca>
Thu, 6 Aug 2020 18:01:07 +0000
(14:01 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>
diff.go
patch
|
blob
|
history
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] != '>' {