coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coreutils] [PATCH] sort: fix bug in --debug when \0 is followed by


From: Pádraig Brady
Subject: Re: [coreutils] [PATCH] sort: fix bug in --debug when \0 is followed by \t
Date: Mon, 09 Aug 2010 01:41:59 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

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

[Prev in Thread] Current Thread [Next in Thread]