summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-03-30 08:42:03 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-03-30 08:42:03 +0000
commita0366abb10523e7b0520d294de7cd720dabc1d0b (patch)
tree406c332512a217ea4ae3e7961c7972dba29f1a1b /package
parentcccc5a26272570b4b18b3a04236c0742d1cbc471 (diff)
busybox: 1.13.3 tail fix
Diffstat (limited to 'package')
-rw-r--r--package/busybox/busybox-1.13.3-tail.patch12
1 files changed, 12 insertions, 0 deletions
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 000000000..bd3abc0e5
--- /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--;
+ }