bug-gnulib
[Top][All Lists]
Advanced

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

fts.c: Don't include fcntl--.h twice.


From: Jim Meyering
Subject: fts.c: Don't include fcntl--.h twice.
Date: Wed, 08 Nov 2006 08:42:20 +0100

As Ralf pointed out, module-check reports a lot of oddities.
This fixes one of them.

FWIW, fts.c doesn't really care about _LIBC anymore, since
I've resolved to rename the functions/macros (maybe to nfts, etc).
That's because with the ABI changes, there's no hope of merging
gnulib-fts changes back into glibc.

        * lib/fts.c [!_LGPL_PACKAGE]: Don't include fcntl--.h twice.
        It's already included if !_LIBC.

Index: lib/fts.c
===================================================================
RCS file: /sources/gnulib/gnulib/lib/fts.c,v
retrieving revision 1.23
diff -u -r1.23 fts.c
--- lib/fts.c   24 Oct 2006 13:31:50 -0000      1.23
+++ lib/fts.c   8 Nov 2006 07:37:43 -0000
@@ -155,7 +155,6 @@
 static bool setup_dir (FTS *fts) { return true; }
 static void free_dir (FTS *fts) {}
 #else
-# include "fcntl--.h"
 # include "fts-cycle.c"
 #endif





reply via email to

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