diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-12-13 02:14:06 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-12-14 13:40:51 +0000 |
commit | 872c0df857d322f8119c64853d042f17c1913c3a (patch) | |
tree | c81e8e0ff1b73ff1dbfc6d99da4ab706a25e7b8a /NEWS | |
parent | 1118f32145049cc4b949e89eda89a0ed612755de (diff) | |
download | coreutils-872c0df857d322f8119c64853d042f17c1913c3a.tar.xz |
sort: fix --debug marking for -b -k1.x
We were erroneously skipping blanks in the marked comparison
_after_ the key start offset was applied.
* src/sort.c (debug_keys): Don't skip starting blanks
if already handled by begfield().
* tests/misc/sort-debug-keys.sh: Add a test case.
* NEWS: Mention the bug fix.
Fixes http://bugs.gnu.org/22155
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -15,6 +15,10 @@ GNU coreutils NEWS -*- outline -*- shred again uses defined patterns for all iteration counts. [bug introduced in coreutils-5.93] + sort --debug -b now correctly marks the matching extents for keys + that specify an offset for the first field. + [bug introduced with the --debug feature in coreutils-8.6] + ** New commands base32 is added to complement the existing base64 command, |