lkml.org 
[lkml]   [2007]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Stray nulls when reading from AF_UNIX sockets
From
From: Anders Blomdell <anders.blomdell@control.lth.se>
Date: Thu, 06 Sep 2007 17:48:07 +0200

> return copied ? : err;
> }
>
> Shouldn't this read:
>
> return copied ? copied : err;
>
> Or am I missing something?

These two statements are equivalent, the first version is
a shorthand allowed by gcc.
-
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-09-06 21:27    [W:0.046 / U:0.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site