> > First, documentation is generally not subject to the same sort of rules. > > You'll note that findunref already contains a blanket exception for text > > files and READMEs. Second, if the source file can reasonably be argued to > > have value on Solaris, then it's fine. However, a directory filled with > > (e.g.) Windows NT specific files would be hard to argue for. > > The only windows files in the tree are > 1. usr/src/lib/libpp/common/probe.win32 > 2. include/ast_windows.h > > [1} can likely go away but [2] is an include file which is referenced > even on Unix/Linux and therefore we can't remove it easily.
[1] needs to die. If [2] is referenced, it's not part of this discussion. > > As I mentioned in an earlier email, we generally grant exceptions for > > parts of the source tree that are kept in-sync with an upstream source. > > But the exception should not be used to stockpile support for non-Solaris > > platforms provided that the files could be automatically pruned from the > > upstream source without too much effort. > > See above... AFAIK that are the only files which could be removed. You can verify this is the case by putting "f" in your NIGHTLY_OPTIONS and examining usr/src/unref-`uname -p`.out once the build finishes. Note that you will see a bunch of existing unreferenced files in the list, since the policy against unreferenced files is only goes back 5 years and was not retroactively enforced. (Also, to get a completely accurate list, you'll need to build on both SPARC and x86 and then merge the resulting files.) -- meem