projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca29ffc
)
Patch from William Barsse to fix a segfault when multiple files are specified.
author
Glenn L McGrath
<bug1@ihug.co.nz>
Thu, 30 Sep 2004 00:24:21 +0000
(
00:24
-0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Thu, 30 Sep 2004 00:24:21 +0000
(
00:24
-0000)
coreutils/tail.c
patch
|
blob
|
history
diff --git
a/coreutils/tail.c
b/coreutils/tail.c
index b18064a38c086ba8b1db5574e9b35269ebcd8670..e3f89d2eea5424c1661e02a6fb9ac54c337d3d59 100644
(file)
--- a/
coreutils/tail.c
+++ b/
coreutils/tail.c
@@
-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) {