On 2014/06/29 18:48, Jared Yanovich wrote:
> Hi,
> 
> sort(1) does some funky things and isn't hard to break:
> 
>   $ perl -e 'print "\n"x117000,"x\n"' | sort | sort -c
> 
> This patch contains a few changes from NetBSD to correct the behavior 
> regarding
> ordering of appending bins to output in certain circumstances which helps pass
> more of our own regress tests and improves performance (e.g. regress suite
> runtime is <40% with new code compared to old/current code on my box).  The 
> new
> code is also much easier to understand..

Nice, this fixes a crash bug I reported about 5 years ago :)

Reply via email to