changeset 5944:15be21aa30a4

(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.
author Jim Meyering <jim@meyering.net>
date Tue, 28 Jun 2005 11:55:41 +0000
parents 9b2762e9dd90
children 5ac666504df6
files check-module
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/check-module	Tue Jun 28 11:21:07 2005 +0000
+++ b/check-module	Tue Jun 28 11:55:41 2005 +0000
@@ -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,
     );