[BusyBox-cvs] CVS busybox/coreutils

CVS User bug1 bug1 at codepoet.org
Thu Sep 30 00:24:22 UTC 2004


Update of /var/cvs/busybox/coreutils
In directory nail:/tmp/cvs-serv8054/coreutils

Modified Files:
	tail.c 
Log Message:
Patch from William Barsse to fix a segfault when multiple files are specified.


--- /var/cvs/busybox/coreutils/tail.c	2004/03/15 08:28:21	1.47
+++ /var/cvs/busybox/coreutils/tail.c	2004/09/30 00:24:21	1.48
@@ -228,6 +228,7 @@
 		buf = tailbuf;
 		taillen = 0;
 		seen = 1;
+		newline = 0;
 
 		while ((nread = tail_read(fds[i], buf, tailbufsize-taillen)) > 0) {
 			if (from_top) {



More information about the busybox-cvs mailing list