svn commit: [25835] trunk/busybox/coreutils

vda at busybox.net vda at busybox.net
Fri Mar 27 02:36:03 UTC 2009


Author: vda
Date: 2009-03-27 02:36:02 +0000 (Fri, 27 Mar 2009)
New Revision: 25835

Log:
tail: fix tail +N syntax not working. Closes bug 221.



Modified:
   trunk/busybox/coreutils/tail.c


Changeset:
Modified: trunk/busybox/coreutils/tail.c
===================================================================
--- trunk/busybox/coreutils/tail.c	2009-03-26 20:47:38 UTC (rev 25834)
+++ trunk/busybox/coreutils/tail.c	2009-03-27 02:36:02 UTC (rev 25835)
@@ -104,7 +104,7 @@
 	if (argv[1] && (argv[1][0] == '+' || argv[1][0] == '-')
 	 && isdigit(argv[1][1])
 	) {
-		count = eat_num(&argv[1][1]);
+		count = eat_num(argv[1]);
 		argv++;
 		argc--;
 	}



More information about the busybox-cvs mailing list