* lib/fts_.h (fts_debug) [GNULIB_FTS_DEBUG]: New decl.
Coreutils was accessing this by the back door; let’s make it public.
---
 ChangeLog  | 4 ++++
 lib/fts_.h | 1 +
 2 files changed, 5 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 8066ef3047..fb902df384 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2025-02-17  Paul Eggert  <egg...@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.
diff --git a/lib/fts_.h b/lib/fts_.h
index fcdef6287a..9fb4c62df9 100644
--- a/lib/fts_.h
+++ b/lib/fts_.h
@@ -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
-- 
2.45.2


Reply via email to