lkml.org 
[lkml]   [2007]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 02/68] 0 -> NULL, for arch/arm
On Fri, Jul 27, 2007 at 02:18:59PM +0200, Jan Engelhardt wrote:
> >bool variables are rarely named buf, so no.
>
> Whatever. Java is good in one point: the ! operator requires a bool.

Language and style advocacy -> that way. Use of scalar types, including
pointers, in conditional contexts is both 100% legal and, what's more
important, idiomatic C.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-27 14:33    [W:0.368 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site