From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30293 invoked by alias); 20 Feb 2002 15:46:26 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 30198 invoked from network); 20 Feb 2002 15:46:19 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.135.44) by sources.redhat.com with SMTP; 20 Feb 2002 15:46:19 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 597F53D12; Wed, 20 Feb 2002 10:46:14 -0500 (EST) Message-ID: <3C73C4C6.8010607@cygnus.com> Date: Wed, 20 Feb 2002 07:46:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.8) Gecko/20020210 X-Accept-Language: en-us MIME-Version: 1.0 To: rbrown64@csc.com.au Cc: gdb-patches@sources.redhat.com Subject: Re: RFA gdb/utils.c (gdb_realpath) fallback patch for sco3.2v5 References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-02/txt/msg00533.txt.bz2 > This permits the 0211 snapshot to link & break in main on > i586-pc-sco3.2v5.0.2 (debugging itself). > Possibly this should be done with the configury and set a PATH_MAX > value in config.h using > > $ getconf PATH_MAX / > 1024 Jason Thorp pointed out similar issues with the code. We can't define PATH_MAX since that would polute the system name space (cf the true/false problem). However, a namespace proof GDB_PATH_MAX might just do the trick. Getting it via configury could be tricky though - it needs to be a compile time, rather than runtime, test. Hmm, perhaphs autoconf has already solved this problem? Anyway, yes ok to the change. Andrew