From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AC325138239 for ; Sat, 1 Dec 2018 12:59:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7BB60E093B; Sat, 1 Dec 2018 12:59:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 43085E093B for ; Sat, 1 Dec 2018 12:59:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A24ED335C36 for ; Sat, 1 Dec 2018 12:59:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ADE2CA8 for ; Sat, 1 Dec 2018 12:59:21 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1543669021.30c40c96a8b75f78d1a1aa51e4f3e0c31bfb0118.ulm@gentoo> Subject: [gentoo-commits] data/glep:master commit in: / X-VCS-Repository: data/glep X-VCS-Files: glep-0075.rst X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 30c40c96a8b75f78d1a1aa51e4f3e0c31bfb0118 X-VCS-Branch: master Date: Sat, 1 Dec 2018 12:59:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0f876977-3715-4c4b-a463-c2cc02c09640 X-Archives-Hash: 5b07a2b8a0f434b540ca16f2532033ef commit: 30c40c96a8b75f78d1a1aa51e4f3e0c31bfb0118 Author: Ulrich Müller gentoo org> AuthorDate: Sat Dec 1 11:14:51 2018 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Dec 1 12:57:01 2018 +0000 URL: https://gitweb.gentoo.org/data/glep.git/commit/?id=30c40c96 glep-0075: Clarify conversion into hexadecimal notation. Bug: https://bugs.gentoo.org/666678 Signed-off-by: Ulrich Müller gentoo.org> glep-0075.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/glep-0075.rst b/glep-0075.rst index 38d57e2..19ce10e 100644 --- a/glep-0075.rst +++ b/glep-0075.rst @@ -7,7 +7,7 @@ Type: Standards Track Status: Draft Version: 1 Created: 2018-01-26 -Last-Modified: 2018-01-27 +Last-Modified: 2018-12-01 Post-History: 2018-01-27 Content-Type: text/x-rst --- @@ -114,13 +114,13 @@ The exact algorithm for determining the distfile location follows: 3. For each integer **C** in cutoff list: - a. Take **C** most significant bits of **H** and store them as **V**. + a. Remove the **C** most significant bits from **H** and store them + as **V**. - b. Convert **V** into hexadecimal integer, left padded with zeros - to **C/4** digits (rounded up) and append it to the path, followed - by the path separator. - - c. Shift **H** left **C** bits. + b. Convert **V** into hexadecimal notation (digits ``0`` to ``9`` + and lowercase letters ``a`` to ``f``), left padded with zeros + to **C/4** digits (rounded up), and append it to the path, + followed by the path separator. 4. Finally, append **F** to the obtained path.