From owner-freebsd-current Fri Mar 13 09:48:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA06345 for freebsd-current-outgoing; Fri, 13 Mar 1998 09:48:47 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from sendero.simon-shapiro.org (sendero-fddi.Simon-Shapiro.ORG [206.190.148.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA06259 for ; Fri, 13 Mar 1998 09:48:21 -0800 (PST) (envelope-from shimon@sendero-fxp0.simon-shapiro.org) Received: (qmail 7175 invoked by uid 1000); 13 Mar 1998 17:54:59 -0000 Message-ID: X-Mailer: XFMail 1.3-alpha-030698 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <19980313121330.54903@follo.net> Date: Fri, 13 Mar 1998 09:54:59 -0800 (PST) Reply-To: shimon@simon-shapiro.org Organization: The Simon Shapiro Foundation From: Simon Shapiro To: Eivind Eklund Subject: Re: A question about sys/sys/queue.h Cc: freebsd-current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 13-Mar-98 Eivind Eklund wrote: ... > For any onlookerss: You can't get the correct binding with if () > tricks, BTW. Stick with the good old "do { ... } while(0)" What you are describing is probably a compiler (or maybe even language) deficiency. ``do { ... } while (0)'' should be identical to ``{ ... }'' as they both do logically, the same thing. I have no argument with any of it. I was just trying to understand something that caught my eye. I have my explanation. Thanx! ---------- Sincerely Yours, Simon Shapiro Shimon@Simon-Shapiro.ORG Voice: 503.799.2313 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message