From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17274 invoked by alias); 4 Jan 2008 18:25:09 -0000 Received: (qmail 17264 invoked by uid 22791); 4 Jan 2008 18:25:08 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 04 Jan 2008 18:24:51 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id B2B902A9679; Fri, 4 Jan 2008 13:24:49 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id PAUc+SzLv8zx; Fri, 4 Jan 2008 13:24:49 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 2E3E32A9674; Fri, 4 Jan 2008 13:24:49 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id C51E7E7ACB; Fri, 4 Jan 2008 10:24:41 -0800 (PST) Date: Fri, 04 Jan 2008 18:25:00 -0000 From: Joel Brobecker To: Aleksandar Ristovski , gdb@sourceware.org, Ryan Mansfield Subject: Re: gdb_realpath: dealing with ./ and ../ Message-ID: <20080104182441.GJ726@adacore.com> References: <2F6320727174C448A52CEB63D85D11F40A4A@nova.ott.qnx.com> <20080104174225.GA15473@caradoc.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080104174225.GA15473@caradoc.them.org> User-Agent: Mutt/1.4.2.2i Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00022.txt.bz2 > I always have trouble understanding changes to this part of GDB. > It would help a lot if you could write test cases. Me too, and I agree! This part of the code can be pretty obscure, and I know that there are some cases that we don't cover. Until we hit real-life cases that we don't cover yet, I think that it allowed us to keep the implementation a little simpler. That's just a guess as I have only contributed to the code, not really written it. > Or you might ask Joel or Eli to look at your patches. I skipped the first few emails but, I'll catch up. I don't mind acting as a second pair of eyes. -- Joel