Gentoo Archives: gentoo-pms

From: David Leverton <levertond@××××××××××.com>
To: gentoo-pms@l.g.o
Cc: David Leverton <levertond@××××××××××.com>
Subject: [gentoo-pms] [PATCH 2/2] Fix 1a versus 1-scm comparison
Date: Tue, 03 Nov 2009 18:12:06
Message-Id: 1257271908-9355-2-git-send-email-levertond@googlemail.com
In Reply to: [gentoo-pms] [PATCH 1/2] Rewrite version comparison rules in pseudocode by David Leverton
1 ---
2 names.tex | 4 ++--
3 1 files changed, 2 insertions(+), 2 deletions(-)
4
5 diff --git a/names.tex b/names.tex
6 index be155ad..f72bc98 100644
7 --- a/names.tex
8 +++ b/names.tex
9 @@ -192,8 +192,8 @@ from which it was invoked.
10 \begin{algorithm}
11 \caption{Version comparison logic for letter components} \label{alg:version-comparison-letter}
12 \begin{algorithmic}[1]
13 - \STATE let $Al$ be the letter component of $A$ if any, otherwise the empty string
14 - \STATE let $Bl$ be the letter component of $B$ if any, otherwise the empty string
15 + \STATE let $Al$ be the letter component of $A$ if any, \IFKDEBUILDELSE{otherwise \t{zz} if $A$ has any suffixes and its first suffix is \t{-scm}, }{}otherwise the empty string
16 + \STATE let $Bl$ be the letter component of $B$ if any, \IFKDEBUILDELSE{otherwise \t{zz} if $B$ has any suffixes and its first suffix is \t{-scm}, }{}otherwise the empty string
17 \IF{$Al>Bl$ using ASCII stringwise comparison}
18 \RETURN $A>B$
19 \ELSIF{$Al<Bl$ using ASCII stringwise comparison}
20 --
21 1.6.4.4

Replies

Subject Author
Re: [gentoo-pms] [PATCH 2/2] Fix 1a versus 1-scm comparison Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>