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: 895625 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-91456-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.vnet.ibm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="IqME1k9y"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40HWqN4X2Yz9s16 for ; Fri, 6 Apr 2018 17:41:51 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:cc:from:subject:date:mime-version :content-type:message-id; q=dns; s=default; b=TcAfKi4r8P+YOAKOvA lxDdLCGo/RjmIihXrTJJLDSzYjpKVFzVRbfM2sUF4A/5y39A+9L+QBfaQsnFZIug SQqRtNy8Q5MdOsfssRAE7KJATEoQ/jEdD8tW795iJDi1wY2meM5EAw4LEW6dm6kj wE7ogbqY8C+DLv5y1+bX7hpC4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:cc:from:subject:date:mime-version :content-type:message-id; s=default; bh=r4qwFodzRHwVcW5jc+asUAn8 Evg=; b=IqME1k9ysgETZDFDxJbrlIAkA8XDTtGcngiveHUCyLUtR85VYNz2c9zB +T2HFbbHyMa3Iw0MPzFGo65uxaOP2lU+bwT4pVCnHpTacsm0y11L90XZjcW/88dl 3yr++MMvY0a3IvTLAJv2Oshv8hVf/i52rQD3DDjhTQRFRlcSyqs= 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.