[BISECTED] Busybox sort regression
Aaro Koskinen
aaro.koskinen at iki.fi
Sat Oct 17 09:08:40 UTC 2015
Hi,
Current busybox git breaks glibc builds because of "sort" regression.
Bisected to:
commit 8aa7cf305ba5133721aa9852b398cbf1867fc857
Author: Denys Vlasenko <vda.linux at googlemail.com>
Date: Sat Sep 19 22:06:40 2015 +0200
sort: fix -kN,M handling (was including last separator into the comparison)
This breaks scripts/versionlist.awk in the glibc source tree (it calls
external "sort" program). Simplified reproducer:
Try the below input:
----->8-----
GLIBC_2.1
GLIBC_2.1.1
GLIBC_2.2
GLIBC_2.2.1
GLIBC_2.10
GLIBC_2.20
GLIBC_2.21
----->8-----
with "sort -u -t. -k 1,1 -k 2n,2n -k 3".
Output with old busybox: same as input
Output with current (broken) busybox:
----->8-----
GLIBC_2.1
GLIBC_2.10
GLIBC_2.1.1
GLIBC_2.20
GLIBC_2.2.1
----->8-----
A.
More information about the busybox
mailing list