From sigi@yps.heim-d.uni-sb.de Tue Aug 22 17:55:26 2000
Received: from localhost ([127.0.0.1] helo=oz.net)
	by frantica.lly.org with esmtp (Exim 3.12 #1 (Debian))
	for rcw@localhost
	id 13ROpC-0006kz-00; Tue, 22 Aug 2000 17:55:26 -0700
Received: from master.debian.org (master.debian.org [216.234.231.5]) by emerald.oz.net (8.9.3/8.7.3) with ESMTP id MAA18245 for <rcw@oz.net>; Tue, 22 Aug 2000 12:32:21 -0700 (PDT)
Received: from indyio.rz.uni-sb.de [::ffff:134.96.7.3] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 13RJu4-0006xP-00; Tue, 22 Aug 2000 14:40:08 -0500
Received: from mars.rz.uni-sb.de (ns0.rz.uni-sb.de [134.96.7.5])
	by indyio.rz.uni-sb.de (8.9.3/8.9.3) with ESMTP id VAA11486460
	for <rcw@debian.org>; Tue, 22 Aug 2000 21:40:06 +0200 (CST)
Received: from yps.heim-d.uni-sb.de (yps.heim-d.uni-sb.de [134.96.56.148])
	by mars.rz.uni-sb.de (8.8.8/8.8.4/8.8.2) with ESMTP id VAA10086
	for <rcw@debian.org>; Tue, 22 Aug 2000 21:40:06 +0200 (CST)
Received: from sigi by yps.heim-d.uni-sb.de with local (Exim 3.12 #1 (Debian))
	id 13RJu1-0004GM-00; Tue, 22 Aug 2000 21:40:05 +0200
Date: Tue, 22 Aug 2000 21:40:04 +0200
From: "Frank 'Sigi' Luithle" <sigi@fsinfo.cs.uni-sb.de>
To: rcw@debian.org
Subject: Bug in abcde 1.1.2
Message-ID: <20000822214004.A16371@fsinfo.cs.uni-sb.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Sender: Frank Luithle <sigi@yps.heim-d.uni-sb.de>
X-UIDL: ,")!!#-a!!pm##!'-N!!
Status: RO
Content-Length: 1244

Hello!

I've found a bug in abcde 1.1.2.  The problem is how you build the
$ENCODELOCATION variable.  Because you write

		ENCODELOCATION=$ENCODELOCATION:$REMOTEHOST

the variable starts with a ":", which results in abcde spawning a local
encoder process even with $MAXPROCS set to 0.  This is not what I want. 
Phew, it took me quite long to figure this out.  abcde is not exactly simple
to understand.  sh programming is *weird*.

Here's a (simple) fix.  The remote hosts are not tried in the order
specified in the config anymore, but this shouldn't be a problem, I think.

BTW:  It seems that you have forgotten to update the $VERSION string (it
still says 1.1.1 with my 1.1.2-1 package).

--- /usr/bin/abcde	Sat Jul 15 15:39:45 2000
+++ /home/sigi/bin/abcde	Tue Aug 22 21:31:50 2000
@@ -638,7 +638,7 @@
 do
 	for REMOTEHOST in $(echo $REMOTEHOSTS | sed 's-,- -g')
 	do
-		ENCODELOCATION=$ENCODELOCATION:$REMOTEHOST
+		ENCODELOCATION=$REMOTEHOST:$ENCODELOCATION
 		TRK=$(expr $TRK + 1)
 	done
 	NUMPROCS=0

-- 
Frank "Sigi" Luithle   | fon:  +49-681-9.65.80.67 | mailto:sigi@iname.com |
Universitaet 18, 2228  | home: http://fsinfo.cs.uni-sb.de/~sigi/          |
66123 Saarbruecken, DE | PGP public key available upon request            |


