Bug 4111 - tail -c+ incorrect behaviour
Summary: tail -c+ incorrect behaviour
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: 1.18.x
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-30 19:18 UTC by marco caminati
Modified: 2011-09-16 22:14 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description marco caminati 2011-08-30 19:18:37 UTC
dd if=/dev/urandom of=c bs=10k count=2
busybox tail -c+8200 c > 1
busybox tail -c+8208 c > 2
diff 1 2

It results 1 and 2 have identical content, while they should differ.

System details:
BusyBox v1.18.5 (2011-07-13 22:22:30 UTC) multi-call binary.

Linux box 2.6.33.3-tinycore #2012 SMP Wed May 12 17:05:42 EEST 2010 i686 i686 i386 GNU/Linux

PS: This bug is probably the root of the problems in installing lilypond reported here:

http://comments.gmane.org/gmane.comp.gnu.lilypond.general/63319
http://www.murga-linux.com/puppy/viewtopic.php?t=66365&sid=6e63c0bb8c0297cf6231218ed3a7394e

and elsewhere.
Since this works exactly up to lilypond version 2.13.41, I expect some bug triggering threshold laying between 7747 and 8200 (as above).