From owner-cvs-all Sun May 9 22:18: 1 1999 Delivered-To: cvs-all@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id 71AC114C89; Sun, 9 May 1999 22:17:54 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id PAA08696; Mon, 10 May 1999 15:17:53 +1000 Date: Mon, 10 May 1999 15:17:53 +1000 From: Bruce Evans Message-Id: <199905100517.PAA08696@godzilla.zeta.org.au> To: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, phk@FreeBSD.org Subject: Re: cvs commit: src/sbin/mknod mknod.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > Modified files: > sbin/mknod mknod.c > Log: > Fix mknod which overloaded a little too much on "minor" and "major" mknod wasn't broken (except for K&R compilers). In ANSI C, the macro major() doesn't conflict with the local variable `major'. nfs_serv.c has local variables named major and minor, but there is no problem (except for K&R compilers) since it doesn't use major() or minor(). Applications that #define `dev', `x' or `y' before including are also broken. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message