From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7693 invoked by alias); 25 Jun 2008 07:35:53 -0000 Received: (qmail 7683 invoked by uid 22791); 25 Jun 2008 07:35:53 -0000 X-Spam-Check-By: sourceware.org Received: from vegas.theobroma-systems.com (HELO mail.theobroma-systems.com) (88.198.52.168) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 25 Jun 2008 07:35:30 +0000 Received: from [86.59.122.178] (port=47550 helo=[10.0.2.106]) by mail.theobroma-systems.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KBPXI-0007yM-DT; Wed, 25 Jun 2008 09:35:26 +0200 Subject: Re: Am I doing something wrong? From: Christian Thalinger To: Andrew John Hughes Cc: David Herron , mauve-discuss@sources.redhat.com In-Reply-To: <17c6771e0806241751q25d39598sf08857a9ed83a55e@mail.gmail.com> References: <4861947D.7070705@sun.com> <17c6771e0806241751q25d39598sf08857a9ed83a55e@mail.gmail.com> Content-Type: text/plain Date: Wed, 25 Jun 2008 07:35:00 -0000 Message-Id: <1214379323.4472.3.camel@cthalinger.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact mauve-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-discuss-owner@sourceware.org X-SW-Source: 2008-q2/txt/msg00007.txt.bz2 On Wed, 2008-06-25 at 01:51 +0100, Andrew John Hughes wrote: > > ---> sb.setLength(sb.length() - fullPath.length() - 1); > > > > So that calculation is going negative, and inserting println's I see > > sb.length() is 0 ... > > > > I changed that to something like this > > > > sb.setLength( > > (sb.length() - fullPath.length() - 1) > 0 > > ? sb.length() - fullPath.length() - 1 > > : 0 > > ); > > > > > > And then this failed (line 1208) > > nextTest = nextTest.substring(0, nextTest.length() - 5); Actually I changed this code very much. > I believe twisti has done a lot of recent work on the harness, but I > don't think it's committed yet. And today is a good day to finally commit it :-) - twisti