[Toybox] [PATCH] python2 probing

2013-08-31 Thread Elie De Brauwer
Hi Rob, list, When I try building tip currently (make clean; make defconfig; make ), the compilation aborts with: Compile toybox... lib/help.c:8:28: fatal error: generated/help.h: No such file or directory compilation terminated. make: *** [toybox] Error 1 On my system this is because make.sh

[Toybox] [PATCH] tail fixes

2013-08-31 Thread Felix Janda
This should now hopefully fix the earlier segfaults. In the case that lseek doesn't work and we count from the end the algorithms for tail -n and tail -c are now more separate. (tail -c is now more efficient since it adds lenghts instead of counting bytes.) POSIX tail BTW does only accept one