Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2000 09:56:56 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/quot quot.c 
Message-ID:  <200005311656.JAA05296@mass.cdrom.com>
In-Reply-To: Your message of "Wed, 31 May 2000 20:00:54 %2B1000." <Pine.BSF.4.21.0005311958490.730-100000@besplex.bde.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005311656.JAA05296>