Subject: bug#33144: [bug-diffutils] bug#33144: Replace some loops with str functions

From: Paul Eggert <[email-masked]>
Date: Thu, 25 Oct 2018 12:57:10 -0700

On 10/24/18 4:06 PM, Kapus, Timotej wrote:
> I find strspn easier to read, communicate intention and has less LOC

On the other hand, it's probably slower for this particular use case, 
and the replacement code you wrote is not equivalent to the code it 
replaced because 'c' ends up having a different value.