Subject: Re: [patch] fixup GECOS handling

From: David Woodhouse <[email-masked]>
Date: Mon, 18 Apr 2005 22:35:12 +1000

On Mon, 2005-04-18 at 12:36 +0200, Martin Schlemmer wrote:
> realgecos[strchr(realgecos, ',') - realgecos] = '\0';

Er, *strchr(realgecos, ',') = 0; surely? Even if the compiler is clever
enough to optimise out the gratuitous addition and subtraction, that's
no real excuse for it.

-- 
dwmw2