I installed this to remove an inadvertent dependency of fts-lgpl on unistd-safer.
2005-05-22 Paul Eggert <[EMAIL PROTECTED]> * fts.c (fd_safer) [_LGPL_PACKAGE]: New static function, so that unistd-safer.h (GPL'ed code) need not be included. --- fts.c.~1.3.~ 2005-05-20 15:42:42 -0700 +++ fts.c 2005-05-22 10:28:49 -0700 @@ -66,7 +66,6 @@ static char sccsid[] = "@(#)fts.c 8.6 (B #include <fcntl.h> #include <errno.h> #include "dirfd.h" -#include "unistd-safer.h" #include <stdbool.h> #include <stdlib.h> #include <string.h> @@ -170,8 +169,10 @@ static bool enter_dir (FTS *fts, FTSENT static void leave_dir (FTS *fts, FTSENT *ent) {} static bool setup_dir (FTS *fts) { return true; } static void free_dir (FTS *fts) {} +static int fd_safer (int fd) { return fd; } #else # include "fts-cycle.c" +# include "unistd-safer.h" #endif #ifndef MAX _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib