On Wed, Aug 15, 2007 at 05:40:21PM -0400, Peter Memishian wrote: > An "unreferenced file" is a file that is not used during a build of a > given source tree. An unreferenced file is considered a sign of > brokenness (in much the same manner as an unused variable flagged by > lint), and thus is forbidden in the ON source tree.
It might be nice to explain this in a bit more depth -- possibly using the phrase "code rot". That is, it's broken not just because of policy, but because it loses relevance, and tends to go unmaintained, results in confusion, etc. > The detection of unreferenced files in ON is automated by the findunref > tool (see http://opensolaris.org/os/community/on/findunref). To ensure > that findunref only flags valid unreferenced files, any granted exceptions > must be listed in usr/src/tools/findunref/exception_list. It's not the case right now, but do we want to have explicit c-team approval to add to the exception list (and to exception lists in general)? Danek _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
