diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2010-08-03 10:24:11 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2010-08-03 10:25:47 -0700 |
commit | a2cebacf9748d60d6763f8ada68a10958a9cbda2 (patch) | |
tree | 4c911b6105aa863c8a9073d262fb3796f8295e7f /m4/memxfrm.m4 | |
parent | 94615d2acfdccbbeb8eb6f8931d0e252b05e1484 (diff) | |
download | coreutils-a2cebacf9748d60d6763f8ada68a10958a9cbda2.tar.xz |
sort: fix bug in --debug when \0 is followed by \t
* src/sort.c (debug_width): New function, which does not stop
counting tabs at \0, and also invokes mbsnwidth. Stamp out strnlen!
(count_tabs): Remove.
(debug_key): Use debug_width instead of mbsnwidth and count_tabs.
* tests/misc/sort-debug-keys: Check that \0 and \t intermix.
Diffstat (limited to 'm4/memxfrm.m4')
0 files changed, 0 insertions, 0 deletions