From: David Miller <davem@davemloft.net>
To: anders.blomdell@control.lth.se
Cc: linux-kernel@vger.kernel.org
Subject: Re: Stray nulls when reading from AF_UNIX sockets
Date: Thu, 06 Sep 2007 12:23:45 -0700 (PDT) [thread overview]
Message-ID: <20070906.122345.74744962.davem@davemloft.net> (raw)
In-Reply-To: <46E02137.8030600@control.lth.se>
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.
next prev parent reply other threads:[~2007-09-06 19:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-06 15:48 Anders Blomdell
2007-09-06 16:09 ` Randy Dunlap
2007-09-06 19:23 ` David Miller [this message]
2007-09-07 11:52 ` Jan Engelhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070906.122345.74744962.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=anders.blomdell@control.lth.se \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome