# HG changeset patch # User Jim Meyering # Date 1119959741 0 # Node ID 15be21aa30a4d36a3afd0e2dc272b0af7965826b # Parent 9b2762e9dd9042584f668b15f0a6872a22e34284 (find_included_lib_files): Hard-code another pair of exceptions: fts.c includes fts-cycle.c and unistd-safer.h but the fts-lgpl (correctly) does not list those files. diff --git a/check-module b/check-module --- a/check-module +++ b/check-module @@ -14,7 +14,7 @@ use Getopt::Long; #use Coda; -(my $VERSION = '$Revision: 1.1 $ ') =~ tr/[0-9].//cd; +(my $VERSION = '$Revision: 1.2 $ ') =~ tr/[0-9].//cd; (my $ME = $0) =~ s|.*/||; use constant ST_INIT => 1; @@ -151,6 +151,9 @@ and next; $file =~ /\bhash\.c$/ && $line eq 'obstack.h' and next; + $file =~ /\bfts\.c$/ && + ($line eq 'fts-cycle.c' || $line eq 'unistd-safer.h') + and next; $inc{$line} = 1; } @@ -198,7 +201,7 @@ 'unlocked-io.h' => 1, # Give gettext.h a free pass only when included from lib/error.c, - # since that we've made that exception solely to make the error + # since we've made that exception solely to make the error # module easier to use -- at RMS's request. 'lib/error.c:gettext.h' => 1, );