On 03/08/10 18:30, Paul Eggert wrote:
> * src/sort.c (debug_width): New function, which does not stop
> counting tabs at \0, and also invokes mbsnwidth.  Stamp out strnlen!

Good one. Are there other reasons for not using strnlen()
apart from it not dealing with NULs in the input?
I was a little surprised to see it otherwise unused in coreutils.

cheers,
Pádraig.

Reply via email to