Re: [PATCH] x86,boot: standardize strcmp()
From: H. Peter Anvin
Date: Thu Mar 19 2015 - 13:34:57 EST
On 03/17/2015 07:13 AM, Arjun Sreedharan wrote:
>
> On a related note, IMO strcmp() should return {-1,0,1} since many
> programmers just expect this behavior. just my opinion.
>
I would challenge that assumption, *especially* in the context of kernel
programming. Let's not waste time on that crap.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/