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: Sat, 17 Oct 2009 23:22:04
Message-Id: 1255821697-17128-2-git-send-email-levertond@googlemail.com
In Reply to: [gentoo-pms] [PATCH 1/2] Rewrite version comparison rules in pseudocode by David Leverton
---
 names.tex |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Sending this separately because it's a change in logic from the old wording.

diff --git a/names.tex b/names.tex
index c75c2c1..5738a50 100644
--- a/names.tex
+++ b/names.tex
@@ -191,8 +191,8 @@ from which it was invoked.
 \begin{algorithm}
 \caption{Version comparison logic for letter components} \label{alg:version-comparison-letter}
 \begin{algorithmic}[1]
-  \STATE let $Al$ be the letter component of $A$ if any, otherwise the empty string
-  \STATE let $Bl$ be the letter component of $B$ if any, otherwise the empty string
+  \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
+  \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
   \IF{$Al>Bl$ using ASCII stringwise comparison}
     \RETURN $A>B$
   \ELSIF{$Al<Bl$ using ASCII stringwise comparison}
-- 
1.6.4.4