fts broken again

2005-08-31 Thread Eric Blake
The following patch was needed to make 'gnulib-tool --test fts' pass
again.  Is there some way to improve new file creation to ensure that
all files are claimed by a module?

2005-08-31  Eric Blake  [EMAIL PROTECTED]

* modules/unistd-safer (Files): Add unistd--.h.
* modules/stdio-safer (Files): Add stdio--.h.


Index: modules/stdio-safer
===
RCS file: /cvsroot/gnulib/gnulib/modules/stdio-safer,v
retrieving revision 1.5
diff -u -r1.5 stdio-safer
--- modules/stdio-safer 2 May 2005 07:00:50 -   1.5
+++ modules/stdio-safer 31 Aug 2005 15:28:53 -
@@ -2,6 +2,7 @@
 File stream functions that avoid clobbering std{in,out,err}.
 
 Files:
+lib/stdio--.h
 lib/stdio-safer.h
 lib/fopen-safer.c
 m4/stdio-safer.m4
Index: modules/unistd-safer
===
RCS file: /cvsroot/gnulib/gnulib/modules/unistd-safer,v
retrieving revision 1.6
diff -u -r1.6 unistd-safer
--- modules/unistd-safer27 Aug 2005 14:29:15 -  1.6
+++ modules/unistd-safer31 Aug 2005 15:28:53 -
@@ -2,6 +2,7 @@
 File descriptor functions that avoid clobbering STD{IN,OUT,ERR}_FILENO.
 
 Files:
+lib/unistd--.h
 lib/dup-safer.c
 lib/fd-safer.c
 lib/pipe-safer.c

--
Eric Blake


___
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib


Re: fts broken again

2005-08-31 Thread Jim Meyering
[EMAIL PROTECTED] (Eric Blake) wrote:
 The following patch was needed to make 'gnulib-tool --test fts' pass
 again.  Is there some way to improve new file creation to ensure that
 all files are claimed by a module?

 2005-08-31  Eric Blake  [EMAIL PROTECTED]

   * modules/unistd-safer (Files): Add unistd--.h.
   * modules/stdio-safer (Files): Add stdio--.h.

Thanks.
I've just checked that in.

Yes.  Since those files are usually also named via
AC_LIBSOURCES in the .m4 file, some tool could cross-check
that against the Files list in the modules file.

I've just added this comment to check-module:

  # FIXME:
  # for each .m4 file listed in the Files: section(s)
  # parse it for AC_LIBSOURCES directives, and accumulate the set
  # of files `required' via all AC_LIBSOURCES.
  # If this set is not empty, ensure that it contains
  # the same (.c and .h only?) files as are listed in the Files: sections.


___
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib