From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 50432 invoked by alias); 19 Feb 2018 22:22:49 -0000 Mailing-List: contact libc-stable-help@sourceware.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Subscribe: List-Archive: Sender: libc-stable-owner@sourceware.org Received: (qmail 49683 invoked by uid 89); 19 Feb 2018 22:22:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.3 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=reserved X-Spam-Status: No, score=-25.3 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: vmicros1.altlinux.org Received: from vmicros1.altlinux.org (HELO vmicros1.altlinux.org) (194.107.17.57) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 19 Feb 2018 22:22:47 +0000 Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14]) by vmicros1.altlinux.org (Postfix) with ESMTP id 27EA672D62A for ; Tue, 20 Feb 2018 01:22:45 +0300 (MSK) Received: by mua.local.altlinux.org (Postfix, from userid 508) id 1D86B7CCAC2; Tue, 20 Feb 2018 01:22:45 +0300 (MSK) Date: Mon, 01 Jan 2018 00:00:00 -0000 From: "Dmitry V. Levin" To: libc-stable@sourceware.org Subject: [2.27 COMMITTED] time: Reference CLOCKS_PER_SEC in clock comment [BZ #22735] Message-ID: <20180219222244.GC7379@altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-IsSubscribed: yes X-SW-Source: 2018-02/txt/msg00012.txt.bz2 From: Sean McKean (cherry picked from commit 09e56b9e18f987105e39768f907db800e9330930) --- ChangeLog | 5 +++++ NEWS | 1 + time/time.h | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 08f2612..4c0b250 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-02-02 Sean McKean + + [BZ #22735] + * time/time.h (clock): Reference CLOCKS_PER_SEC in comment. + 2018-02-10 Dmitry V. Levin [BZ #22433] diff --git a/NEWS b/NEWS index 40c0fbc..d7f1567 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,7 @@ The following bugs are resolved with this release: [22638] sparc: static binaries are broken if glibc is built by gcc configured with --enable-default-pie + [22735] Misleading typo in time.h source comment regarding CLOCKS_PER_SECOND [22797] Linux: use reserved name __key in pkey_get [22827] RISC-V ELF64 parser mis-reads flag in ldconfig diff --git a/time/time.h b/time/time.h index 49d3043..4b55e34 100644 --- a/time/time.h +++ b/time/time.h @@ -68,7 +68,7 @@ typedef __pid_t pid_t; __BEGIN_DECLS /* Time used by the program so far (user time + system time). - The result / CLOCKS_PER_SECOND is program time in seconds. */ + The result / CLOCKS_PER_SEC is program time in seconds. */ extern clock_t clock (void) __THROW; /* Return the current time and put it in *TIMER if TIMER is not NULL. */ -- ldv