From a0366abb10523e7b0520d294de7cd720dabc1d0b Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 30 Mar 2009 08:42:03 +0000 Subject: [PATCH] busybox: 1.13.3 tail fix --- package/busybox/busybox-1.13.3-tail.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/busybox/busybox-1.13.3-tail.patch diff --git a/package/busybox/busybox-1.13.3-tail.patch b/package/busybox/busybox-1.13.3-tail.patch new file mode 100644 index 0000000000..bd3abc0e54 --- /dev/null +++ b/package/busybox/busybox-1.13.3-tail.patch @@ -0,0 +1,12 @@ +diff -urpN busybox-1.13.3/coreutils/tail.c busybox-1.13.3-tail/coreutils/tail.c +--- busybox-1.13.3/coreutils/tail.c 2009-02-26 12:47:02.000000000 +0100 ++++ busybox-1.13.3-tail/coreutils/tail.c 2009-03-27 03:34:57.000000000 +0100 +@@ -104,7 +104,7 @@ int tail_main(int argc, char **argv) + 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--; + } -- 2.30.2