From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20467 invoked by alias); 12 Mar 2007 22:03:42 -0000 Received: (qmail 20457 invoked by uid 22791); 12 Mar 2007 22:03:41 -0000 X-Spam-Check-By: sourceware.org Received: from heller.inter.net.il (HELO heller.inter.net.il) (213.8.233.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 12 Mar 2007 22:03:36 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-229-113-116.inter.net.il [84.229.113.116]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id CCO58039 (AUTH halo1); Tue, 13 Mar 2007 00:03:22 +0200 (IST) Date: Mon, 12 Mar 2007 22:03:00 -0000 Message-Id: From: Eli Zaretskii To: Joel Brobecker CC: gdb@sourceware.org In-reply-to: <20070312051646.GI14401@adacore.com> (message from Joel Brobecker on Sun, 11 Mar 2007 22:16:46 -0700) Subject: Re: [sparc-solaris] unexpected warning when starting program Reply-to: Eli Zaretskii References: <20070312051646.GI14401@adacore.com> X-IsSubscribed: yes 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: 2007-03/txt/msg00176.txt.bz2 > Date: Sun, 11 Mar 2007 22:16:46 -0700 > From: Joel Brobecker > > > I am not sure how to fix it either. On solaris 2.8 and 2.9, the two > files are identical but distinct - one is not a link to the other. > On solaris 2.10, however, one is a link of the other, so we could > presumably check the fullpath instead of doing a direct name comparison. > But that would be pretty expensive for just one type of host, no? String comparisons is the wrong thing to do when the issue is file equality. This mostly works only by chance. We should implement a smarter FILENAME_CMP, IMHO.