From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6418 invoked by alias); 3 Aug 2007 07:15:52 -0000 Received: (qmail 6405 invoked by uid 22791); 3 Aug 2007 07:15:50 -0000 X-Spam-Check-By: sourceware.org Received: from b.mail.sonic.net (HELO b.mail.sonic.net) (64.142.19.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 03 Aug 2007 07:15:44 +0000 Received: from snyder (209-204-172-156.dsl.dynamic.sonic.net [209.204.172.156]) by b.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with SMTP id l737FgWm026186; Fri, 3 Aug 2007 00:15:42 -0700 Message-ID: <000b01c7d59d$608d4040$677ba8c0@sonic.net> Reply-To: "Michael Snyder" From: "Michael Snyder" To: "Mark Kettenis" Cc: References: <10431.12.7.175.2.1186103684.squirrel@webmail.sonic.net> <200708030554.l735scVD028947@brahms.sibelius.xs4all.nl> Subject: Re: [PATCH] symfile.c, find_separate_debug_file Date: Fri, 03 Aug 2007 07:15:00 -0000 X-Mailer: Microsoft Outlook Express 6.00.2800.1437 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-08/txt/msg00032.txt.bz2 > > Date: Thu, 2 Aug 2007 18:14:44 -0700 (PDT) > > From: msnyder@sonic.net > > > > Just for a change, here's one that was not inspired by Coverity. > > > > Find separate debug file does not work in the case where the path > > lies in the global debug file directory -- because we stick an extra > > slash into the pathname. > > Since when do extra slashes in a pathname hurt? Well I don't know -- they seemed to hurt when I tried it, and getting rid of them certainly seemed to help. If I type /usr/lib//tmp/foo, isn't that equivalent, at least in some contexts, to typing /tmp/foo?