Upgrade dependencies

This commit is contained in:
Ingo Oppermann
2023-08-08 13:06:59 +03:00
parent 0b718b8b18
commit 76b3713b2e
178 changed files with 2558 additions and 3122 deletions

View File

@@ -187,6 +187,10 @@ func parseStat(r io.Reader, fileName string) (Stat, error) {
err error
)
// Increase default scanner buffer to handle very long `intr` lines.
buf := make([]byte, 0, 8*1024)
scanner.Buffer(buf, 1024*1024)
for scanner.Scan() {
line := scanner.Text()
parts := strings.Fields(scanner.Text())