From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5919 invoked by alias); 19 Jan 2013 16:02:46 -0000 Received: (qmail 5887 invoked by uid 22791); 19 Jan 2013 16:02:40 -0000 X-SWARE-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 19 Jan 2013 16:02:34 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MGV00200R1THD00@a-mtaout21.012.net.il> for gdb-patches@sourceware.org; Sat, 19 Jan 2013 18:02:31 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MGV002N5R87K100@a-mtaout21.012.net.il>; Sat, 19 Jan 2013 18:02:31 +0200 (IST) Date: Sat, 19 Jan 2013 16:02:00 -0000 From: Eli Zaretskii Subject: Re: [patch 2/9] Code cleanup: Drop IS_ABSOLUTE_PATH checks In-reply-to: <20130119152731.GA10298@host2.jankratochvil.net> To: Jan Kratochvil Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <8338xxqhy5.fsf@gnu.org> References: <20130117215846.GC16249@host2.jankratochvil.net> <83fw1z6j5i.fsf@gnu.org> <20130118183938.GA1255@host2.jankratochvil.net> <83r4li5mdj.fsf@gnu.org> <20130118193457.GA4369@host2.jankratochvil.net> <83mww65iok.fsf@gnu.org> <20130118211002.GA9261@host2.jankratochvil.net> <83d2x1r7iy.fsf@gnu.org> <20130119140914.GA7303@host2.jankratochvil.net> <834nidqjz2.fsf@gnu.org> <20130119152731.GA10298@host2.jankratochvil.net> X-IsSubscribed: yes 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: 2013-01/txt/msg00467.txt.bz2 > Date: Sat, 19 Jan 2013 16:27:31 +0100 > From: Jan Kratochvil > Cc: gdb-patches@sourceware.org > > "c:\filename.c" is absolute filename by definition so it must not match > trailing part of a longer filename. I agree, but the code never tests the other file name for being absolute. If it did, and then insisted that the other file name must also be absolute, then I'd agree.