]> Savannah Git Hosting - gnulib.git/commitdiff
fts: expose fts_debug
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 17 Feb 2025 22:15:37 +0000 (14:15 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 17 Feb 2025 22:16:41 +0000 (14:16 -0800)
* lib/fts_.h (fts_debug) [GNULIB_FTS_DEBUG]: New decl.
Coreutils was accessing this by the back door; let’s make it public.

ChangeLog
lib/fts_.h

index 8066ef3047f3eb45683326dc2e7020fff69cd766..fb902df3844f4d7aeda48e9cb4fc510f671da043 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2025-02-17  Paul Eggert  <eggert@cs.ucla.edu>
 
+       fts: expose fts_debug
+       * lib/fts_.h (fts_debug) [GNULIB_FTS_DEBUG]: New decl.
+       Coreutils was accessing this by the back door; let’s make it public.
+
        crc-tests: use consistent type for randomb
        * tests/randomb.c (randomb): Now array of char, not unsigned char,
        since callers all want char.  All uses changed.
index fcdef6287aa86d84ad93443a1a8f9c3ab075805f..9fb4c62df9d4171949327f7e198f00e128d4d803 100644 (file)
@@ -273,6 +273,7 @@ FTSENT  *fts_read (FTS *) __THROW;
 int      fts_set (FTS *, FTSENT *, int) __THROW;
 
 #if GNULIB_FTS_DEBUG
+extern bool fts_debug;
 void     fts_cross_check (FTS const *);
 #endif
 __END_DECLS