summaryrefslogtreecommitdiff
path: root/m4/memxfrm.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2010-08-03 10:24:11 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2010-08-03 10:25:47 -0700
commita2cebacf9748d60d6763f8ada68a10958a9cbda2 (patch)
tree4c911b6105aa863c8a9073d262fb3796f8295e7f /m4/memxfrm.m4
parent94615d2acfdccbbeb8eb6f8931d0e252b05e1484 (diff)
downloadcoreutils-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