Paul Eggert wrote:
> > - wchar_t wch;
> > - size_t nbytes = mbrtowc (&wch, s, n, &d->mbs);
> > + char32_t wch;
> > + size_t nbytes = mbrtoc32 (&wch, s, n, &d->mbs);
> >if (0 < nbytes && nbytes < (size_t) -2)
> > {
> >*pwc = wch;
> > + if (nb
In the thread "From wchar_t to char32_t" we discussed the mbrtoc32 function,
in particular.
mbrtoc32, compared to mbrtowc, has two new features:
(a) it overcomes wchar_t limitations, especially the fact that on Windows,
wchar_t is only 16 bits wide.
(b) it allows a multibyte sequence to
Paul Eggert did:
> 2023-07-09 Paul Eggert
>
> c32width: protect against bad configure args
> Avoid ‘test’ misuse with ‘./configure gt_cv_locale_fr=""’.
> Possible problem of this sort reported by Angelo Graziosi in:
> https://lists.gnu.org/r/emacs-devel/2023-07/msg00329.h
Regarding my proposed 'dfa' module patch:
Paul Eggert wrote on 2023-07-04:
> > - wchar_t wch;
> > - size_t nbytes = mbrtowc (&wch, s, n, &d->mbs);
> > + char32_t wch;
> > + size_t nbytes = mbrtoc32 (&wch, s, n, &d->mbs);
> >if (0 < nbytes && nbytes < (size_t) -2)
> >
Paul Eggert wrote on 2023-07-06:
> in reviewing it found a minor
> glitch or two and some opportunities for simplification. I installed the
> attached further patch which I hope fixes glitches without breaking
> anything else.
Comments:
- Typo: s/mbrtoc23/mbrtoc32/
- The rationale for def
Hi,
Andrew Schulman wrote:
> I'm building argp for Cygwin. The build succeeds, and all of the tests
> pass except for one, test-argp-2.sh.
For me, on Cygwin, this test passes.
> The contents of test-suite.log are below.
> ...
> The error is pretty trivial, and I think it's incorrect. If I
> unde