Message ID | 164263816090.863810.16834243121150635355.stgit@magnolia (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | xfsprogs: various 5.15 fixes | expand |
On Wed, Jan 19, 2022 at 04:22:40PM -0800, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@kernel.org> > > Ted T'so reported brittleness in the fstests logic in generic/45[34] to Not a super big deal, but my last name is "Ts'o". Thanks, - Ted
On Wed, Jan 19, 2022 at 08:16:56PM -0500, Theodore Ts'o wrote: > On Wed, Jan 19, 2022 at 04:22:40PM -0800, Darrick J. Wong wrote: > > From: Darrick J. Wong <djwong@kernel.org> > > > > Ted T'so reported brittleness in the fstests logic in generic/45[34] to > > Not a super big deal, but my last name is "Ts'o". D'oh. Sorry about that, will fix. --D > Thanks, > > - Ted
diff --git a/scrub/xfs_scrub.c b/scrub/xfs_scrub.c index bc2e84a7..45e58727 100644 --- a/scrub/xfs_scrub.c +++ b/scrub/xfs_scrub.c @@ -582,6 +582,13 @@ report_outcome( } } +/* Compile-time features discoverable via version strings */ +#ifdef HAVE_LIBICU +# define XFS_SCRUB_HAVE_UNICODE "+" +#else +# define XFS_SCRUB_HAVE_UNICODE "-" +#endif + int main( int argc, @@ -670,8 +677,9 @@ main( verbose = true; break; case 'V': - fprintf(stdout, _("%s version %s\n"), progname, - VERSION); + fprintf(stdout, _("%s version %s %sUnicode\n"), + progname, VERSION, + XFS_SCRUB_HAVE_UNICODE); fflush(stdout); return SCRUB_RET_SUCCESS; case 'x':