← Commit list

f86391e7d

Glenn L McGrath
Glenn L McGrath
2004-09-30
FAILED Duration: 33s

Subject

Patch from William Barsse to fix a segfault when multiple files are specified.

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

coreutils/tail.c+1 -0
@@ -228,6 +228,7 @@ int tail_main(int argc, char **argv)
buf = tailbuf;
taillen = 0;
seen = 1;
+ newline = 0;
while ((nread = tail_read(fds[i], buf, tailbufsize-taillen)) > 0) {
if (from_top) {