Many calls to file_prune were incorrectly calling it with 2 parameters. In cases where the filename being checked is relative to the srcdir, that is not needed. Made absolute filenames be pruned. (This won't work for the 2 parameter call style.)
The regexp only matches things inside the CVS directory, not just "CVS" by itself. I changed the test to not test that it will be pruned.