[PATCH] wcwidth: adjust manpage input (Re: [PATCH] fix wcwidth to work with gcc 16 sign extension)
Jeff Johnston
jjohnstn@redhat.com
Wed Jun 10 16:44:11 GMT 2026
Patch applied. Thanks.
-- Jeff J.
On Wed, Jun 10, 2026 at 10:16 AM Jon Turney <jon.turney@dronecode.org.uk>
wrote:
> On 08/06/2026 22:26, Jeff Johnston wrote:
> > Patch applied.
> 'make info' chokes on this.
>
> > MAKEINFO ../../../src/newlib/libc/libc.info
> > wcwidth.def:34: misplaced {
> > wcwidth.def:36: misplaced }
> > wcwidth.def:38: misplaced {
> > wcwidth.def:40: misplaced }
> > wcwidth.def:44: misplaced {
> > wcwidth.def:48: misplaced {
> > wcwidth.def:48: misplaced }
> > wcwidth.def:49: misplaced }
>
> I think this is because makedoc does not correctly escape '{' or '}' for
> texinfo, outside of a fixed-width font section (which makedoc expects to
> be marked-up with '.' or '|'at the start of lines -- see courierize in
> makedoc.c)
>
> That's definitely a shortcoming in makedoc, but since this *is* a code
> example, courierize-ing it seems appropriate.
>
> Patch attached.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/newlib/attachments/20260610/cf90951e/attachment.htm>
More information about the Newlib
mailing list