busybox: add patch to fix 'head -n -1'
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Wed, 5 Sep 2018 14:28:54 +0000 (16:28 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 5 Sep 2018 19:15:54 +0000 (21:15 +0200)
commitcdf07abac58df3ec0154cd984792715489962878
tree7d35e7b77b69ebf34e339ede57c1b5f9ad867039
parent84efe72b785c7c2437a07a07d92f39a811c647f6
busybox: add patch to fix 'head -n -1'

Busybox 1.29.0 introduces a regression causing head to fail with negative
'-n' parameters, e.g. 'head -n -1'. Instead of showing all but the last one
line, no lines are printed whatsoever.

The issue was reported with
http://lists.busybox.net/pipermail/busybox/2018-August/086617.html . This
commit backports the revert applied upstream.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/busybox/0003-Revert-libbb-remove-unnecessary-variable-in-xmalloc_.patch [new file with mode: 0644]