Subject: Re: CVS commit: basesrc
To: Brian C. Grayson <bgrayson@hal.ece.utexas.edu>
From: Chris G. Demetriou <cgd@netbsd.org>
List: source-changes
Date: 08/16/1999 17:58:54
"Brian C. Grayson" <bgrayson@hal.ece.utexas.edu> writes:
> > 1. precedence
> 
>   From inspection, amd, emul, ftpd, and supfiles have their
> examples in /usr/src/share.  ipf has its examples in
> /usr/src/usr.sbin/ipf/rules.  Apparently I chose the wrong
> program (ipf) as a measure of precedence....

Regardless of precedent, you chose the right answer.

It is nothing but broken to separate programs' examples (or manual
pages and other documentation) from their sources.

>   Personally, I thought having the examples bundled with the
> software (but in a subdirectory thereof) made more sense.

It is.


In retrospect, I'd say regression tests are really in the same boat,
actually, and programs regression tests should go with the programs.
(It can be a bit more annoying to do that for the kernel, though...
similarly, kernel manual pages are elsewhere.)



cgd
-- 
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.