From dd9572a423cdbf134498e4f664eea69e21a29d69 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 17 Feb 2025 14:15:37 -0800 Subject: [PATCH] fts: expose fts_debug MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * 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 + 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.39.5