From: Paul Eggert Date: Mon, 17 Feb 2025 22:15:37 +0000 (-0800) Subject: fts: expose fts_debug X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=dd9572a423cdbf134498e4f664eea69e21a29d69;p=gnulib.git 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. --- 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