lkml.org 
[lkml]   [2010]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] lib: fix scnprintf() if @size is == 0
On Wed, Aug 25, 2010 at 8:35 AM, Joe Perches <joe@perches.com> wrote:
> On Wed, 2010-08-25 at 08:10 +0800, Changli Gao wrote:
>> On Wed, Aug 25, 2010 at 8:03 AM, Joe Perches <joe@perches.com> wrote:
>> > Isn't simpler to check size at the beginning of the function?
>> It is a rare case, so don't slow down the normal users.
>
> That's fine, but I don't like blinking that much
> when I read code.
>

"? :" isn't friendly. OK, I'll update my patch. Thanks.

--
Regards,
Changli Gao(xiaosuo@gmail.com)


\
 
 \ /
  Last update: 2010-08-25 02:47    [W:0.940 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site