GNU bug report logs - #55622
Bug in sort with keys and reverse, and version-sort and reverse

Previous Next

Package: coreutils;

Reported by: Larry Ploetz <lploetz <at> gmail.com>

Date: Wed, 25 May 2022 04:02:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 55622 <at> debbugs.gnu.org, P <at> draigBrady.com, lploetz <at> gmail.com
Subject: bug#55622: Bug in sort with keys and reverse, and version-sort and reverse
Date: Wed, 25 May 2022 11:28:21 -0700
[Message part 1 (text/plain, inline)]
Thanks, Pádraig, for fixing that. And thanks, Larry, for reporting that.

> The existing tests are sufficient to catch this.

Yes, evidently I forgot to run 'make check', which I usually do. I'll 
try to not forget next time....

I installed the attached further patches to (1) coalesce duplicate code 
and explain why it's needed and (2) tweak performance a tiny bit.
[0001-sort-refactor-tricky-diff-reversal.patch (text/x-patch, attachment)]
[0002-sort-tune-diff_reversed.patch (text/x-patch, attachment)]

This bug report was last modified 3 years and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.