From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9178 invoked by alias); 8 Sep 2005 19:28:21 -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 9100 invoked by uid 22791); 8 Sep 2005 19:28:12 -0000 Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (192.114.186.20) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 08 Sep 2005 19:28:12 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-228-249-108.inter.net.il [84.228.249.108]) by nitzan.inter.net.il (MOS 3.6.5-GR) with ESMTP id BJL04324 (AUTH halo1); Thu, 8 Sep 2005 22:27:51 +0300 (IDT) Date: Thu, 08 Sep 2005 19:28:00 -0000 Message-Id: From: Eli Zaretskii To: Richard Earnshaw CC: sjackman@gmail.com, gdb-patches@sources.redhat.com In-reply-to: <1126170388.18092.16.camel@pc960.cambridge.arm.com> (message from Richard Earnshaw on Thu, 08 Sep 2005 10:06:28 +0100) Subject: Re: sim/arm/armos.c: IsTTY [PATCH] Reply-to: Eli Zaretskii References: <7f45d9390508151204ca0b146@mail.gmail.com> <20050830023718.GB16189@nevyn.them.org> <7f45d93905090709516f912861@mail.gmail.com> <1126170388.18092.16.camel@pc960.cambridge.arm.com> X-SW-Source: 2005-09/txt/msg00053.txt.bz2 > From: Richard Earnshaw > Cc: gdb-patches@sources.redhat.com > Date: Thu, 08 Sep 2005 10:06:28 +0100 > > 1) PATH_MAX isn't ANSI (it's POSIX, or something like that). So you > can't rely on it being defined. I think for this case you can probably > just define it to 1024 anyway if it's missing, but see > libiberty/lrealpath.c if you want the gory details. Or perhaps just use FILENAME_MAX, which _is_ ANSI.