From owner-cvs-all Wed May 31 9:54:33 2000 Delivered-To: cvs-all@freebsd.org Received: from mass.cdrom.com (adsl-63-206-88-224.dsl.snfc21.pacbell.net [63.206.88.224]) by hub.freebsd.org (Postfix) with ESMTP id D4FE937BDA0; Wed, 31 May 2000 09:54:24 -0700 (PDT) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id JAA05296; Wed, 31 May 2000 09:56:56 -0700 (PDT) (envelope-from msmith@mass.cdrom.com) Message-Id: <200005311656.JAA05296@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Bruce Evans Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/quot quot.c In-reply-to: Your message of "Wed, 31 May 2000 20:00:54 +1000." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 31 May 2000 09:56:56 -0700 From: Mike Smith Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Tue, 30 May 2000, Mike Smith wrote: > > > There are a heap of these that use "/dev" rather than PATH_DEV. What's > > the feeling on cleaning them all up? > > Hard-coded directories are almost as evil as hard-coded modifiers for > device names :-). 8) This sounds like an argument for sysctlbyname("path_dev") to me... How do you feel about ANSI string concatenation, eg: open(PATH_DEV "rmt0", ... ? -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message