Date: Tue, 20 Jul 1999 21:50:02 -0700 (PDT) From: Mitsuru IWASAKI <iwasaki@hitachi-to.co.jp> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/12663: Ambiguous if statement Message-ID: <199907210450.VAA14997@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/12663; it has been noted by GNATS. From: Mitsuru IWASAKI <iwasaki@hitachi-to.co.jp> To: Nate Williams <nate@mt.sri.com> Cc: freebsd-gnats-submit@freebsd.org, adamw@holonet.net Subject: Re: kern/12663: Ambiguous if statement Date: Wed, 21 Jul 1999 13:40:00 +0900 Nate Williams writes: > No, they could not break silently, as the syntax is guaranteed to be > correct by the ANSI-C standard. If it broke, the compiler would be > broke and a number of other such code in many systems would also break. You might be right, Nate. But I forgot to fix it up when I ported the code from NetBSD's one. Also I like a lot the style as Mr. Adam Wight pointed out because It is preventible from missing { and } when few more lines are needed in the block afterward. Thank you Adam and Nate, I'll fix it soon if there is no objections. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907210450.VAA14997>