[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printf %ls conversion
From: |
Chet Ramey |
Subject: |
Re: printf %ls conversion |
Date: |
Mon, 17 Jul 2023 11:23:05 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 7/17/23 3:19 AM, Grisha Levit wrote:
The mbsrtowcs call here doesn't convert the final \0 of mbs, leaving the
final byte of ws as whatever was just malloc-ed.
Thanks for the report.
--
``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/