From owner-cvs-all Wed Apr 22 20:41:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA20394 for cvs-all-outgoing; Wed, 22 Apr 1998 20:41:06 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA20373; Thu, 23 Apr 1998 03:40:57 GMT (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id NAA30536; Thu, 23 Apr 1998 13:36:19 +1000 Date: Thu, 23 Apr 1998 13:36:19 +1000 From: Bruce Evans Message-Id: <199804230336.NAA30536@godzilla.zeta.org.au> To: cvs-committers@FreeBSD.ORG, eivind@FreeBSD.ORG Subject: Re: cvs commit: src/sys/sys time.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk >eivind 1998/04/22 17:11:32 PDT > > Modified files: > sys/sys time.h > Log: > Wrap timerclear in do { ... } while(0) Wrong fix. The do-while(0) hack is bogus for macros that expand to an expression. Such macros should just have outer parentheses if and only if the expression has more than one token (not counting the outer parentheses). timevalclear() and timespecclear() have the same bug. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message