Re: [PATCH 0/4] Fix build failures when multibyte support is disabled
From:
Chet Ramey
Subject:
Re: [PATCH 0/4] Fix build failures when multibyte support is disabled
Date:
Mon, 13 Jul 2026 11:34:51 -0400
User-agent:
Mozilla Thunderbird
On 7/13/26 6:05 AM, Shubham Chakraborty wrote:
This series fixes four build failures in Bash 5.3 when compiled without
multibyte support (e.g., when HANDLE_MULTIBYTE is not defined, or on systems
lacking wide character support).
Thanks for the report.
Patch 4: lib/glob/smatch.c: locale_utf8locale and UTF8_SINGLEBYTE are not
available without multibyte support, causing undeclared identifier errors in
collseqcmp(), is_cclass(), and the FOLD macro.
This isn't correct. They're both independent of HANDLE_MULTIBYTE. The right
fix is to add an extern declaration for locale_utf8locale for non-multibyte
builds in shmbutil.h.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/