From owner-cvs-all Thu Aug 19 7:50:16 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 722D114A12; Thu, 19 Aug 1999 07:50:14 -0700 (PDT) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA43604; Thu, 19 Aug 1999 07:50:14 -0700 (PDT) (envelope-from peter@FreeBSD.org) Message-Id: <199908191450.HAA43604@freefall.freebsd.org> From: Peter Wemm Date: Thu, 19 Aug 1999 07:50:13 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfs nfsm_subs.h xdr_subs.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk peter 1999/08/19 07:50:13 PDT Modified files: sys/nfs nfsm_subs.h xdr_subs.h Log: Convert all the nfs macros to do { blah } while (0) to ensure it works correctly in if/else etc. egcs had probably picked up most of the problems here before with "ambiguous braces" etc, but this should increase the robustness a bit. Based on an idea from Eivind Eklund. Revision Changes Path 1.26 +168 -111 src/sys/nfs/nfsm_subs.h 1.12 +16 -11 src/sys/nfs/xdr_subs.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message