This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] manual: Fix build error in charset.texi.
- From: Stefan Liebler <stli at linux dot vnet dot ibm dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Cc: Florian Weimer <fweimer at redhat dot com>
- Date: Fri, 6 Apr 2018 09:41:37 +0200
- Subject: [PATCH] manual: Fix build error in charset.texi.
Hi,
Building the manual fails with:
./charset.texi:704: misplaced {
./charset.texi:704: misplaced }
This patch adds the missing @.
Okay to commit?
ChangeLog:
* manual/charset.texi (Converting a Character): Add missing @.
commit 73af4fd26dd741c14455bc29471d85c532f7acb1
Author: Stefan Liebler <stli@linux.vnet.ibm.com>
Date: Fri Apr 6 09:34:24 2018 +0200
manual: Fix build error in charset.texi.
Building the manual fails with:
./charset.texi:704: misplaced {
./charset.texi:704: misplaced }
This patch adds the missing @.
ChangeLog:
* manual/charset.texi (Converting a Character): Add missing @.
diff --git a/manual/charset.texi b/manual/charset.texi
index a63d67045f..f6a980f6cb 100644
--- a/manual/charset.texi
+++ b/manual/charset.texi
@@ -701,7 +701,7 @@ uppercase could look like this:
In the inner loop, a single wide character is stored in @code{wc}, and
the number of consumed bytes is stored in the variable @code{nbytes}.
If the conversion is successful, the uppercase variant of the wide
-character is stored in the code{result} array and the pointer to the
+character is stored in the @code{result} array and the pointer to the
input string and the number of available bytes is adjusted. If the
@code{mbrtowc} function returns zero, the null input byte has not been
converted, so it must be stored explicitly in the result.