From patchwork Fri Apr 6 07:41:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Liebler X-Patchwork-Id: 26629 Received: (qmail 25125 invoked by alias); 6 Apr 2018 07:41:46 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 25076 invoked by uid 89); 6 Apr 2018 07:41:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy= X-HELO: mx0a-001b2d01.pphosted.com To: GNU C Library Cc: Florian Weimer From: Stefan Liebler Subject: [PATCH] manual: Fix build error in charset.texi. Date: Fri, 6 Apr 2018 09:41:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 X-TM-AS-GCONF: 00 x-cbid: 18040607-0044-0000-0000-0000054421B7 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18040607-0045-0000-0000-00002884417B Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2018-04-06_04:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1804060081 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 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.