On 04/04/2016 04:46 AM, Matthijs Nescio wrote:
I seem to have detected a bug in sort. Can you confirm?
Certainly there is a problem in your 'sort' installation. Perhaps it
depends on the locale? Try setting LC_ALL=C in your environment.
I cannot reproduce the problem with coreutils 8.4 built on Fedora 23
x86-64, nor on Ubuntu 12.04.5 LTS x86 (this is the oldest Ubuntu release
that is still supported). Please try building coreutils 8.4 on your
platform, from source, and using that.
ftp://ftp.gnu.org/gnu/coreutils/coreutils-8.4.tar.gz
You may have to edit lib/stdio.h by hand, after it's built, to remove
its declaration of 'gets'.