[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Texinfo 7.1 released
From: |
Gavin Smith |
Subject: |
Re: Texinfo 7.1 released |
Date: |
Wed, 25 Oct 2023 22:37:13 +0100 |
On Wed, Oct 25, 2023 at 07:41:09PM +0300, Eli Zaretskii wrote:
> The warning is real: wchar_t is a 16-bit data type on MS-Windows,
> whereas the code assumes it's of the same width as wint_t.
>
> I changed the offending code to say this instead:
>
> if (!strchr (end_sentence_characters
> after_punctuation_characters, *p))
> {
> wchar_t wc;
> get_utf8_codepoint (&wc, p, len);
> state.last_letter = wc;
> }
>
> and then it compiled cleanly.
Thank you, I've committed this on branch "release/7.1", and if similar
code is used on the master branch I'll make sure it doesn't have this
problem.
- Re: Texinfo 7.1 released, (continued)
- Re: Texinfo 7.1 released, Eli Zaretskii, 2023/10/22
- Re: Texinfo 7.1 released, Eli Zaretskii, 2023/10/22
- Re: Texinfo 7.1 released, Gavin Smith, 2023/10/22
- Re: Texinfo 7.1 released, Eli Zaretskii, 2023/10/22
- Re: Texinfo 7.1 released, Gavin Smith, 2023/10/22
- Re: Texinfo 7.1 released, Eli Zaretskii, 2023/10/22
- Re: Texinfo 7.1 released, Gavin Smith, 2023/10/22
- Re: Texinfo 7.1 released, Eli Zaretskii, 2023/10/23
- Re: Texinfo 7.1 released, Gavin Smith, 2023/10/23
- Re: Texinfo 7.1 released, Eli Zaretskii, 2023/10/25
- Re: Texinfo 7.1 released,
Gavin Smith <=
- Re: Texinfo 7.1 released, Gavin Smith, 2023/10/22