Date: Thu, 7 Mar 2002 04:21:45 -0800 From: "David O'Brien" <obrien@FreeBSD.org> To: Mark Murray <mark@grondar.za> Cc: Will Andrews <will@csociety.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/rwall rwall.c Message-ID: <20020307042145.B66608@dragon.nuxi.com> In-Reply-To: <200203071206.g27C6nRV009991@grimreaper.grondar.org>; from mark@grondar.za on Thu, Mar 07, 2002 at 12:06:49PM %2B0000 References: <20020307032014.B63863@dragon.nuxi.com> <200203071206.g27C6nRV009991@grimreaper.grondar.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 07, 2002 at 12:06:49PM +0000, Mark Murray wrote: > > 2. please review the C idiom of short-circuit evaluation. > > I know this. See style(9) on complicated expressions. Please point out which section you are referring to. I glanced thru style(9) wondering if the if() style changes are mandated. Searching on "assignment" or "complicated" gave nothing. And the examples such as: if ((four = malloc(sizeof(struct foo))) == NULL) seem to approve the style. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020307042145.B66608>