bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

canonicalize depends on pathmax.h


From: Jim Meyering
Subject: canonicalize depends on pathmax.h
Date: Tue, 28 Jun 2005 13:59:27 +0200

FYI, I ran this command

  (cd modules; ../check-module *)

and saw some new warnings:

  lib/canonicalize.c: pathmax.h is `#include'd, but not listed in module's 
Files: section
  lib/fts.c: fts-cycle.c is `#include'd, but not listed in module's Files: 
section
  lib/fts.c: unistd-safer.h is `#include'd, but not listed in module's Files: 
section

I've done this to fix them:

2005-06-28  Jim Meyering  <address@hidden>

        * check-module (find_included_lib_files): Hard-code another
        pair of exceptions: fts.c includes fts-cycle.c and unistd-safer.h
        but the fts-lgpl module file (correctly) does not list those files.

        * modules/canonicalize (Files): Add lib/pathmax.h.

Index: check-module
===================================================================
RCS file: /cvsroot/gnulib/gnulib/check-module,v
retrieving revision 1.1
diff -u -p -r1.1 check-module
--- check-module        26 Mar 2005 16:07:23 -0000      1.1
+++ check-module        28 Jun 2005 11:23:37 -0000
@@ -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;
     }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]