From 2ef643a4f33ad334090ad5b23f542997f9c4b3c2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 28 Jun 2005 11:55:41 +0000 Subject: (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. --- check-module | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/check-module b/check-module index 4d01f83873..9bfa133133 100755 --- a/check-module +++ b/check-module @@ -14,7 +14,7 @@ use strict; 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 @@ sub find_included_lib_files ($) 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 @@ sub find_included_lib_files ($) '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, ); -- cgit v1.2.1