From patchwork Sat Dec 23 14:02:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Aurelien Jarno X-Patchwork-Id: 852646 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-88573-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="mVdyK9yv"; 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 3z3nBr5Wcvz9s03 for ; Sun, 24 Dec 2017 01:02:44 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=W+46GuHngdsOfmlfooSNxRmS7MvsfUwf9fZ27j+z6aQIn/9a/fw3J MkGNRv5cZlnB0GmwCFoc5zbRUggm3zyPdhGMPDQ7zjGWit/wVIhWyrFq5iBsP6DU 3/4jxoINNyN2b1fHh4foNbQWF+AIygJatOAEsfj9y+wfNZIh74VGQA= 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:from:to:cc:subject:date:message-id :mime-version:content-type:content-transfer-encoding; s=default; bh=Tt0IVOV1qTfdc72wMj1EL46Xy0E=; b=mVdyK9yvMTHmq7p9bkutNpGDp/S1 u177WqWMRmLBoE2G4GPVEwkfzJKJWs3ZH+gt2MpcPGdbROpGWenJtxs2dTYGloTj 8cn4tR3G8+wAAabx1MI84i0u5CPHM0pDW0ozzmstO6LJI2OzBvI/NjWJGBG3BFkI UQvS3NFqQK7B2LQ= Received: (qmail 73397 invoked by alias); 23 Dec 2017 14:02:38 -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 73386 invoked by uid 89); 23 Dec 2017 14:02:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=vincent, Vincent, 21161, amendment X-HELO: hall.aurel32.net From: Aurelien Jarno To: libc-alpha@sourceware.org Cc: Aurelien Jarno Subject: [COMMITTED] manual: fix a typo in strtoul description [BZ #21161] Date: Sat, 23 Dec 2017 15:02:29 +0100 Message-Id: <20171223140229.18587-1-aurelien@aurel32.net> MIME-Version: 1.0 Typo reported by Vincent Lefèvre: 'retrict' -> 'restrict'. Changelog: [BZ #21161] * manual/arith.texi (strtoul): Fix a typo. --- ChangeLog | 3 +++ manual/arith.texi | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c29d25a6fa..4050ec4e53 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2017-12-23 Aurelien Jarno + [BZ #21161] + * manual/arith.texi (strtoul): Fix a typo. + [BZ #22596] * manual/arith.texi (finite): Fix the description of the return value. diff --git a/manual/arith.texi b/manual/arith.texi index 4649bdf956..56ae6ddb35 100644 --- a/manual/arith.texi +++ b/manual/arith.texi @@ -2484,7 +2484,7 @@ in nearly all aspects but handles wide character strings. The @code{wcstol} function was introduced in @w{Amendment 1} of @w{ISO C90}. @end deftypefun -@deftypefun {unsigned long int} strtoul (const char *retrict @var{string}, char **restrict @var{tailptr}, int @var{base}) +@deftypefun {unsigned long int} strtoul (const char *restrict @var{string}, char **restrict @var{tailptr}, int @var{base}) @standards{ISO, stdlib.h} @safety{@prelim{}@mtsafe{@mtslocale{}}@assafe{}@acsafe{}} The @code{strtoul} (``string-to-unsigned-long'') function is like